Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have an external storage which i tried to expand(with succes) and then de-expand(no succees). The Storage manager didn't support this type of function so i had to create again the physical and logical drives.
I had to clear the partition since linux was indicating different partition size and physical size with corrupt partition table error message
so I used
and the prompt
: o (create a new empty dos partition table) and
mkfs -t ext3 /dev/sdb
mount -t ext3 /dev/sdb /stdb
the drive mounts OK but when i issue
it gives me the following
Disk /dev/sdb: 291.4 GB, 291481059328 bytes
255 heads, 63 sectors/track, 35437 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdb doesn't contain a valid partition table
What does this mean (doesn't contain a valid partition table)
It seems that the drive works OK (copying files) but is it?
You made a small mistake:
you created an empty partition table, but didn't add any partitions.
I find it a bit strange it works, but apparently it does? I have no idea if it can be reliable, if I were you I'd redo it:
in fdisk, add a partition with
# fdisk /dev/sdb
a (for add)
1 (partition number)
then let it cover the entire disk, simply accept default start & end.
w (write and exit)
Maybe all your files are still on it? Could be worth checking, it might be you don't have to reformat - again, I have no idea if the partition can be relied upon without reformatting.
I have created RAID 5 using hda5,hda6 and hda7 while installing RHEL 5.
But still it works. But for the #fdisk -l command I got the message "Disk /dev/md0 doesn't contain a valid partition table"
whatis the wrong?
Exactly nothing. fdisk is trying to look for partition table on /dev/md0 device. It cannot find it there so it gives this information. fdisk cannot in any way guess that /dev/md0 is not a 'real' disk (strange but true).