Adding drive to Mandrake

Batti

Golden Member
Feb 2, 2000
1,608
0
0
I have a running Mandrake 7.2 system acting as a Samba server. I want to physically add an additional (SCSI) hard drive to the system. What steps should I take?
 

BOFH

Senior member
Dec 31, 1999
456
0
0
Power down the system. Add the drive. Determine the drive name from the dmesg output. fdisk that drive. mkfs on the partition(s) and then mount. Add lines to /etc/fstab to make the mounts permanent
 

Damaged

Diamond Member
Oct 11, 1999
3,020
0
0
Install the drive, partition with fdisk or cfdisk then mke2fs /dev/sd[x][x], where [x] is the appropriate drive/partition letter.

Pretty simple. Now all you have to do is make a mount point for it, mount it, and then edit your /etc/fstab file so that it will mount automatically at boot.

I'm being terse here, but those are the basics. Need step-by-step? Just ask. However, there is a good HOWTO on this at Linuxdoc.org.
 

Damaged

Diamond Member
Oct 11, 1999
3,020
0
0
Quick followup on someting BOFH said. Easiest way to find the new drive from the output of dmesg is dmesg | grep ^sd. That should give you everything you need.
 

Batti

Golden Member
Feb 2, 2000
1,608
0
0
Allow me to add notes here for those who search. Remeber I'm using Mandrake, and some of these tools are unique to Mandrake.

1) If SCSI ID is higher than the ID on the drive you boot from, you won't boot. This may be because the newly added drive was formerly part of a Linux RAID set. Changing ID to one higher than the boot drive fixed this.
2) KUDZU detected and configured the drive on boot - cool!
3) HardDrake allowed me to partition and format using the KDE GUI, very nice.

Worked slick, drive is now operational. Console purists stop groaning about #3, I'm trying to learn the Mandrake toolsets.

Thanks all for your help!
 

Damaged

Diamond Member
Oct 11, 1999
3,020
0
0
Why would I complain? It worked right? GREAT! However, I wouldn't have had a clue about those tools. :)