Hi,hi!
host:~# mkfs -t ext3 /dev/sdb2
mke2fs 1.41.3 (12-Oct-2008)
Could not stat /dev/sdb2 --- No such file or directory
The device apparently does not exist; did you specify it correctly?
What is this error?
fdisk -l
host:~# fdisk -l
Disk /dev/sda: 996.4 GB, 996420878336 bytes
255 heads, 63 sectors/track, 121141 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 * 1 66 524288 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 66 121141 972540762 8e Linux LVM
Disk /dev/sdb: 2002.5 GB, 2002515918848 bytes
255 heads, 63 sectors/track, 243458 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xe87203d4
Device Boot Start End Blocks Id System
/dev/sdb1 1 127483 1024007166 83 Linux
/dev/sdb2 127484 243458 931569187+ 83 Linux
Disk /dev/dm-0: 7516 MB, 7516192768 bytes
255 heads, 63 sectors/track, 913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1: 103.0 GB, 103079215104 bytes
255 heads, 63 sectors/track, 12532 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/dm-1 doesn't contain a valid partition table
Disk /dev/dm-2: 880.9 GB, 880996777984 bytes
255 heads, 63 sectors/track, 107108 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/dm-2 doesn't contain a valid partition table
partx /dev/sdb
Hi,host:~# partx /dev/sdb
# 1: 63-2048014394 (2048014332 sectors, 1048583 MB)
# 2: 2048014395--383814527 (1863138375 sectors, 953926 MB)
# 3: 0- -1 ( 0 sectors, 0 MB)
# 4: 0- -1 ( 0 sectors, 0 MB)
Success!
First created a section sdb2 and then sdb1, then the error climbs.
Please tell us why?
We use essential cookies to make this site work, and optional cookies to enhance your experience.