General :: Can't Mkfs USB 1TB HD On RHEL5?

Jul 6, 2010

When trying to mkfs -t ext3 /media/HD-CEIU2 mounted drive, I receive "is not a block special device". Then after answering yes to proceed anyway, get messages indicating the device couldn't be read. I did fdisk the drive and rebooted.

View 1 Replies


General :: Mkfs Check For Bad Block?

Jan 9, 2009

how long mkfs will take to check for bad blocks on an 500 gig SATA drive? The drive is a warranty replacement from Western Digital. It's been running about an hour now. I had run mkfs ext3 on it before I realized I should check for bad blocks so I am running the check now.

View 2 Replies View Related

General :: Unable To Get Drive Geometry When Mkfs.vfat?

Jan 26, 2010

I got this message when I tried to format my eternal usb hard disk to vfat format. Do you know what it is about?

# /sbin/mkfs.vfat /dev/uba3
mkfs.vfat 2.11 (12 Mar 2005)
unable to get drive geometry, using default 255/63

i have umount all the /media/ I have done an experiment on /dev/uba3. I was able to /sbin/mkfs.ext3 /dev/uba3 but not on mkfs.vfat

View 3 Replies View Related

General :: Recovering A 'ntfs' Partition Which Got Ruined By Mkfs.ext4 Command?

Jan 28, 2010

I just ruined my /ntfs partition. I used the mkfs command and stopped it by ^C immidiately, but it was too late. mkfs.ext4 /dev/sdb1

Is there a way to recover NTFS partition now ? The partition </dev/sdb1> was 'ntfs' and mkfs.ext4 did not check if it was a ext4 or give any pre-check warning, just went ahead with making the ext4 fs on a ntfs partition.

View 6 Replies View Related

General :: Fdisk Change Patition System Id _after_ Mkfs.ext3 OK?

Jul 20, 2010

I've a new external usb drive that was shipped formatted fat32. I wanted to convert this to ext3; so I performed a mkfs.ext3. I then noticed that fdisk was still reporting the usb drive as fat32 (even after reboot), but mount was reporting ext3: so I fdisk'ed the drive and change the partition's system id to 83 (Linux)

View 1 Replies View Related

Hardware :: Mkfs After Transferring Data To HD?

Mar 6, 2010

openSuse 11.2 KDE 4 desktop User = newbie I was having some trouble with a Hard drive that I store my photo's and other personal data on. Fisrtly, it was messing my OS up, so that it would not boot to the desktop, but only to the command line where it would report that this drive was somehow corrupted and needed to be repaired. Secondly, the OS was reporting that certain files were 380,000.2 TB in size. this drive is only 200 GB.I didn't want to do the repair until I found a way to back up my data. I found another hard drive to do backup to but I had to take some data off of it. Which I did.

In the spirit of trying learn command line I decided to partition and format the hard drive using fdisk. I found some easy to use directions and proceeded to partition the drive. Unfortunately, I failed to realize the directions were only for the partitioning part [my fault for not reading further]. What I missed was that after using fdisk to partition, you must use mkfs to set filesystem type.[I thought I had done that in fdisk using the "l" , "t" commands within fdisk].

My questions are:

1] Can I do this mkfs command after I have put my data on the new hard drive or should I start fresh and redo partioning? [I have not deleted the other drive so my data is still there.]

2] What would be the cause of the incorrectly reported file sizes?

View 2 Replies View Related

Fedora :: Does Mkfs.ext3 Erase Data?

Jan 6, 2011

I accidentally ran mkfs.ext3 /dev/sdb on the wrong drive.It used to be 2 NTFS partitions with lots of data. is there any hope I can only change the file system to ntfs back and revert what I did?not sure if mkfs erase the data or just rewrite some partition table.

View 7 Replies View Related

Ubuntu :: Mkfs.ext4 Hans On All Disks?

Nov 26, 2010

Im running ubuntu server on a c2d 3ghz server, but got stuck yesterday when i was going to install some new harddrives.I did experience some problems during installation of ubuntu as well.Tried with an SpinPoint 1TB disk, but the install hanged when ive configured partiotion setup and was writing changes to disk.However, it worked with a 400gb disk i found under the bed... Now im trying to partiotion, format and mount 2x brand new 2TB WD Caviar disks.Im creating the partition in fdisk, and everything is going well, so far.But when im trying to format the partitions ive made (sudo mkfs.ext4 /dev/sdb1), everything just hangs.It just stops right after it start writing.This is what i get: "Writing inode tables: 60/14905"And after several tries and 15 minutes waiting time, i get: ext2fs_mkdir: Attempt to read block from filesystem resulted in short read while creating root dir

View 2 Replies View Related

Ubuntu :: Mkfs.ntfs Partitions Are Not Recognized By Windows 7?

May 7, 2010

I formatted with mkfs.nts a USB 500 GB external drive. Under Linux when I connect it to the USB port it's recognized and works. Under windowz 7 home is's seen in the device list but not in the computer window. I can't do anything with it apart eject it. This is what I get from fdisk:sudo fdisk /dev/sdcThe number of cylinders for this disk is set to 60801.There is nothing wrong with that, but this is larger than 1024,and could in certain setups cause problems with:1) software that runs at boot time (e.g., old versions of LILO)2) booting and partitioning software from other OSs(e.g., DOS FDISK, OS/2 FDISK)Command (m for help):

and this from fdisk -ls /dev/sdc:
gt[~]$ sudo fdisk -ls /dev/sdc
Disk /dev/sdc: 500.1 GB, 500107862016 bytes


View 5 Replies View Related

Hardware :: External USB Drive - Mkfs Hangs / Solution For This?

Nov 13, 2010

I have a 1TB external USB drive that I'm having a lot of trouble with.

First I created a 500G partition, then formatted it with ext3. That went as expected.

Then I tried to copy a large (~50G) archive to it, and at about 13G it just stopped. I was using "watch" to view the progress, and it just stopped suddenly. I left it for quite a while, to see if it was actually doing something, just slowly, but nothing.

I tried to kill the copy command, but it wouldn't die. I killed the parent processes, and it just kept moving up the process tree until init was its parent. I tried rebooting.. I got the message "system is going down for reboot now", then the first few messages of the reboot process, and then it just stopped at "unmounting local filesystems". Again, I left it for a while, nothing. I ended up hard booting it.

After rebooting, I recreated the partition, then tried formatting it. This time it started writing inode tables, then just stopped at a certain point. I think at 133/4001. Again, I left it for a while and it didn't move.

Again, I tried killing the process and it moved up the tree until init was its parent. Rebooting hung at the same place, and again had to hard boot it.

This time I deleted the partition and tried creating a small partition - 500M. mkfs formatted it as expected, and I was able to mount and write to the partition.

I deleted the small partition, and tried creating a larger one - 100G this time. fdisk created the partition just fine (and did not complain or report any errors through this whole process), but again mkfs gets stuck.. this time at 34/801 inode tables. I haven't been timing it, but I want to say it's been at least 10 - 15 minutes.

dmesg reports some drive errors, but I'm not sure what they mean code...

View 2 Replies View Related

Server :: Create A Initrd Image Without Using Mkfs But Cpio?

Jan 26, 2011

how to create an initrd image using cpio, instead of mkfs?

Now im doing it like this:

dd if=/dev/zero of=initrd bs=1024 count=10000
mkfs -t ext2 -F -m 0 -b 1024 -i 1024 initrd

But i would like to move to cpio, because with dd, if you add something new, you might need to change the count. Also cpio is used in distro's like Fedora and Ubuntu.

View 2 Replies View Related

Software :: SD Memory Card Format With Mkfs.vfat?

Jan 25, 2011

I am trying to format 4 GB sd memory using mkfs.vfat. I want to use the card both in linux and windows so I am formatting with Vfat filesystem. When I format the card from command line with "mkfs.vfat -F 32 /dev/mmcblk1" I am getting a warning message like
"unable to get drive geometry, using default 255/63" but the data in the card is erased.

But when I mount the card and checks for the size using df -h its showing 1 GB instead of 4 GB. how to format the SD memory card or any other alternate way to format the card.

View 4 Replies View Related

Slackware :: How To Create Raid Arrays With Mkfs.btrfs

Jun 21, 2011

what do I have:2x 150GB drives (sda) on a raid card (raid 1)for the OS (slack 13.37)2x 2TB drives (sdb) on that same raid card (raid 1, too)2x 1.5TB drives (sdc,sdd) directly attached to MoBo2x 750GB drives (sde,sdf) attached to MoBo too.if i got about it the normal way, i'd create softRAID 1 out of the the 1.5TB and the 750GB drives and LVM all the data arrays (2TB+1.5TB+750GB) to get a unified disk.If I use btrfs will I be able to do the same? mean I have read how to create raid arrays with mkfs.btrfs and that some lvm capability is incorporated in the filesystem. but will it understand what I want it to do, if i just say

mkfs.btrfs /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1 /dev/sdf1
probably not, eh?

View 3 Replies View Related

Slackware :: Format A Device Into XFS Filesystem Using Mkfs Command?

Sep 15, 2010

I'm trying to format a device into XFS filesystem using mkfs command. Suppose I have a /dev/sda1 device with 4096 block and I want to format the whole thing, how can I execute the command? I keep getting various errors while executing it.

View 7 Replies View Related

CentOS 5 :: Mkfs.ext3 Works Fine On SAS But Always Hangs On SATA

Nov 10, 2010

I have more than a dozen servers running CentOS (mostly supermicro servers) everytime i do mkfs.ext3 or mkfs.ext4, it always hangs the server (nothing is responding, not even the terminal) can't even do Ctrl+C to kill it. but the funny thing is, if i leave it on for hours, it'll finish eventually.

this puzzles me, i've tried so many different SATA drives and different servers, different kernels, different CentOS. for example purposes, my CentOS 5.3 runs 2.6.18-92.1.13.el5 kernel. i also have 5.4 and 5.5. mkfs.ext3 works fine on SAS, but always hangs on SATA. here's where it usually hangs Writing inode tables: 2126/7453

View 5 Replies View Related

OpenSUSE :: Accidentally Format - Mkfs.vfat On My 1Tb Ext - Recover The Data Completely?

Oct 11, 2010

A friend accidentally did mkfs.vfat on my 1Tb ext. hard drive..It's now showing as 400 GB free where it was 10 GB previously and the remaining data is being shown as weird symbols and empty folders and yet it occupies more than 500GB..Any way to recover the data completely?

View 1 Replies View Related

Hardware :: Windows Vista Can't Read My Ntfs Partition Created By Mkfs

Oct 16, 2010

I'm dual booting windows vista and ubuntu hardy on a multi-partitioned Dell D630. I created a partition using mkfs -t ntfs. Linux has no trouble reading/writing to it, but every time I boot into windows, chkdsk tries to "fix" the partition, fails, and tells me that the partition is corrupted. Can anybody suggest a way to convince vista that the partition is indeed ok, or else another way to create the partition so that vista can recognize it?

View 1 Replies View Related

General :: RHEL5 - User Cannot Log On From GUI

Apr 2, 2010

I am newbie in Linux, using RHEL5. I created an account for user. User cannot log on from GUI but able to log on from command line by (ctrl-alt-f1). As a root I can log on from GUI mode.

View 2 Replies View Related

General :: How To Install Dns In Rhel5

Feb 4, 2010

i want to install dns in my pc. all configurations in a broad way

View 7 Replies View Related

General :: How To Assign More Than One IP In RHEL5

Jan 8, 2010

I am using RHEL 5 or 5.5 version as my os. I want to assign more than one ip for that machine. I am very new to linux.

View 7 Replies View Related

General :: How To Give WEP Key In RHEL5

Jan 28, 2010

I have installed Dlink-DWL-G520 in RHEL5 - kernel 2.6.18-8.el5. Now I want to give WEP key to get IP from my wireless accesspoint. How I can give that key?

View 1 Replies View Related

General :: How To Take Snapshot In RHEL5

Mar 22, 2010

I want to make a snapshot of RHEL5 about my current situation ,how will I do that ?

View 3 Replies View Related

General :: Second NIC Not Recognized In RHEL5?

Jan 3, 2011

I have installed a second NIC to my Desktop on LINUX (Oracle Enterprise Linux 5). However, it does not get recognized while I'm performing the install and only eth0 card shows up.

View 5 Replies View Related

General :: VLC Dependencies On The RHEL5?

Apr 8, 2011

I'm isntalling VLC on RHEL5 via


sudo yum install vlc

this gives me the following dependencie errors


--> Processing Dependency: for package: vlc
---> Package x264.x86_64 0:0.0.0-0.4.20101111.el5.rf set to be updated
--> Finished Dependency Resolution
vlc-0.9.9a-7.el5.rf.x86_64 from rpmforge has depsolving problems


View 2 Replies View Related

Ubuntu Installation :: Wrongly Mkfs To /dev/sda1 Insted Of /dev/sdb1 Data Deleted?

Jun 6, 2011

I had a working Ubuntu 9.10 with Windows 7 installed, and i was writing an image of IPCOP [URL] to the USB drive incorrectly, i did mkfs on my primary partation i.e. /dev/sda1 now i am trapped in situation, i was trying to write and usb-hdd image of ipcop on USB Drive, while doing so, i have given following commands

1. mkfs.vfat /dev/sda1
2. e2label usb-pen
3. zcat filename > /dev/sda1

* now the stupid thing i have done, is given /sda1( My HDD ) instead of /sdb1 (USB Drive), it has successfully loaded IPCOP bootable on my primary drive, and my laptop is not working now.

Laptop Partation Info:
/dev/sda1 - NTFS (Windows 7 Prof)
/dev/sda2 - NTFS


now i want to get my partitions & data back, if anybody have idea about how to get rid of this situation. The good thing i have done, is that, i didn't tried to install anything on the drive after this happened, with hopes that i can get my data back i guess that it can be recovered but confusion is that, which data recovery software to use, and for linux or windows, as i had my data on NTFS filesystem and currently there is Free Space and EXT4 partition.

View 2 Replies View Related

General :: Partitions And Volumes In RHEL5?

Jul 16, 2010

What is the difference between a Partition and a Volume in Redhat Linux 5?

View 2 Replies View Related

General :: Run Windows 7 And Rhel5 Server On Same Pc Under Xen?

May 21, 2010

I have rhel5 running ok and windows7 running ok, and currently access both via grub (both os are on separate disks) I want to be able to switch between both without rebooting. xen is installed and working but I cannot configure windows to run as a guest as xen wants an iso or img file.

View 1 Replies View Related

General :: Ethernet NIC Drivers For RHEL5?

Apr 5, 2011

I installed redhat enterprise Linux 5 on an acer laptop to dual boot with windows vista the nic works perfectly with windows but does not work with the RHEL5.

View 4 Replies View Related

General :: Scan New EMC SAN Lun / Disk In RHEL5?

Apr 7, 2011

How to see/scan new EMC SAN lun/disk in RHEL 5?

View 1 Replies View Related

General :: Unable To Use Wireshark In Rhel5.0?

Aug 12, 2010

i am not able to use wireshark in rhel5.0

View 2 Replies View Related

Copyrights 2005-15, All rights reserved