Page 1 of 1
Creating filesystem error
Posted: November 30th, 2011, 4:40 am
by mach_y
Hi, new on linux here... I am following the guide, on a computer with a single 1TB hard drive. I created the system partition as 30GB. I am trying to add the rest of the disk as a single partition in LVM. I created the logical partition, and then tried to create the filesystem on it and received the below error. I have tried rebooting, but that did not make a difference.
The error:
Create Filesystem
Executing command mkfs -t ext3 -q /dev/ubuntu/datastorepartprobe ; mkfs -t ext3 -q /dev/ubuntu/datastore ..
Could not stat /dev/ubuntu/datastorepartprobe --- No such file or directory
The device apparently does not exist; did you specify it correctly?
The logical partition:
Volume name Volume size
Blocks allocated from volume group 238320 out of 238405 Allocation block size 4 MB
Device file /dev/ubuntu/datastore Current status Not in use
Volume access Read/write Read only Allocation method Contiguous Non-contiguous
Volume striping Disabled (always allocate from start) Readahead Sectors
Physical volumes allocated sda5 903 GB
Thanks.
Re: Creating filesystem error
Posted: December 3rd, 2011, 10:38 am
by erija952
I'm having the exact same problem as you do. The filesystem doesn't seam to be created. I used Webmin to create the logical volume, but I can't create the filesystem. It says the same thing as above. I tried running:
> sudo mkfs -t ext4 -q /dev/eilis01s/mediaD
My fdisk -l says that the volume is created atleast:
sudo fdisk -l
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000a2982
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 499711 248832 83 Linux
/dev/sda2 501758 1953523711 976510977 5 Extended
/dev/sda5 501760 1953523711 976510976 8e Linux LVM
Disk /dev/mapper/eilis01s-root: 18.0 GB, 17985175552 bytes
255 heads, 63 sectors/track, 2186 cylinders, total 35127296 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/eilis01s-root doesn't contain a valid partition table
Disk /dev/mapper/eilis01s-swap_1: 2009 MB, 2009071616 bytes
255 heads, 63 sectors/track, 244 cylinders, total 3923968 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/eilis01s-swap_1 doesn't contain a valid partition table
Disk /dev/mapper/eilis01s-mediaD: 483.2 GB, 483183820800 bytes
255 heads, 63 sectors/track, 58743 cylinders, total 943718400 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/eilis01s-mediaD doesn't contain a valid partition table
Any help would be really helpful. Did you solve your problem mach_y?
I' m using a HP Proliant N40L microserver with a 1TB WD disc.
Re: Creating filesystem error
Posted: December 4th, 2011, 6:38 pm
by erija952
I'm still intrested if people found a way around this problem. Would be intresting to understand whats happend... I think I followed all the instructions from the guide.
For me, I think I got around it by reinstalling. This time setting up partions manually and configuring and partition LVM drives manually.
I did it according to
https://help.ubuntu.com/10.04/servergui ... ation.html.
But... I'd still be intrested to know what I did wrong the first time...
Re: Creating filesystem error
Posted: December 5th, 2011, 7:48 pm
by Ian
Hi guys,
I've not been ignoring you re the problems you've been having, it's simply that I don't have a solution for you. I've never hit this particular issue before. I was hoping someone would come along with the cure and save the day but alas that hasn't happened.
Sorry,
Ian.
Re: Creating filesystem error
Posted: December 7th, 2011, 8:45 pm
by erija952
Thanks Ian!
I still have no idea why I wasn't able to format my logical volume, but as I said before I managed to do it during the installation of Ubuntu my second try. I can find other people getting this message when searching the internet, but not the exact same problem nor a solution.
Anyway, thanks for the support!