Hi there, centos 5,3 x64 running on ESX.
fdisk output:
Code:
Disk /dev/sdb: 2147 MB, 2147483648 bytes
255 heads, 63 sectors/track, 261 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdb doesn't contain a valid partition table
how I am mounting stuff:
Code:
echo -ne "n\np\n1\n\n\nw\n" | fdisk /dev/sdb
mkfs.ext3 /dev/sdb
mkdir /media/tmp
echo "/dev/sdb /media/tmp ext3 defaults 0 0" >> /etc/fstab
mount -a
but then when I do an fdisk -l I get this:
Code:
Disk /dev/sdb: 2147 MB, 2147483648 bytes
255 heads, 63 sectors/track, 261 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdb doesn't contain a valid partition table
This occurs even on a reboot.
Once I get that (and other) partitions mounted I would like to point /tmp at one, /home at another and /var/log at the third.
How would I do this?
Thanks!