Easy disk/LVM question
I have just installed Fedora Core 8 on an AMD Geode system. Its quicker than spit on a skittle. Its the only OS on this system.
I have been doing Unix for 25 years, but I know a lot more AIX, HPUX and Solaris than I do Linux. The OS is installed on an internal 40GB disk. I've also installed a 300GB disk that I want to mount at /mnt1. The output from fdisk -l is: ======================================================================== [root@hostname]# fdisk -l Disk /dev/sda: 40.0 GB, 40020664320 bytes 255 heads, 63 sectors/track, 4865 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00029c25 Device Boot Start End Blocks Id System /dev/sda1 * 1 25 200781 83 Linux /dev/sda2 26 4865 38877300 8e Linux LVM Disk /dev/sdb: 300.0 GB, 300069052416 bytes 255 heads, 63 sectors/track, 36481 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x000edd54 Device Boot Start End Blocks Id System /dev/sdb1 * 1 36481 293033601 8e Linux LVM Disk /dev/dm-0: 338.6 GB, 338698436608 bytes 255 heads, 63 sectors/track, 41177 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: 1073 MB, 1073741824 bytes 255 heads, 63 sectors/track, 130 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x30307800 Disk /dev/dm-1 doesn't contain a valid partition table [root@hostname]# ====================================================================== Where did disks DM-0 and DM -1 come from? How do I format and mount /dev/sdb? I don't need LVM on this system. This system can be 'dumb as a stump' for now. Can anyone give me a quick-and-dirty overview? (this would be easy in AIX: I love SMIT) |
Change the type to Linux. You can do that in fdisk or cfdisk.... you apparently already know how to do that since you partitioned it :)
I am guessing that the dm-0 crap is the lvm device name... but I dont know lvm, and you said it can be dumb as a rock so lets not use it :p # Create a filesystem on the device mkfs.ext3 /dev/sdb1 # Mount it so it is accessable now mount /dev/sdb1 /mnt # Make it keep working when you reboot. # Add this line to /etc/fstab /dev/sdb1 /mnt reiserfs defaults 1 2 |
All times are GMT -5. The time now is 06:30 PM. |