Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Var partition full, added second scsi hard drive

Status
Not open for further replies.

bkonner

MIS
Apr 28, 2001
101
US
Hi,

This is related to the above question. I think, though not 100 per cent sure, that I solved the problem. But I want to make sure I did this correctly.

My /var partition was running out of space, so I added a third 36.4 gig scsi hard drive. First I configured it in hard ware, then I used the fdisk utility, then created the file system using mke2fs, then mounted it in the var parition, calling it incoming. I moved mail into it. The path is /var/incoming/mail. It seems to be working, as I have tested it from several email accounts I have. The mount looks correct in /etc/fstab (I made no changes, Linux did it automatically). The only thing that seemed strange was when I added the hard drive, Linux did not automatically see it, as I expected. I should add that I followed directions from previous posts I have seen on this page.

Have I accounted for everything. Sould I make any changes in the SendMail configuration? I haven't, but it is still working.

Thanks,
 
Hi,



It all looks fine to me. You can quite easily move part of a filesystem onto another drive as you've found. Its a bit more tricky to move all of /var or suchlike but not inordinately so.



On the hardware, providing you already had scsi drives working then you would have an initrd image that provides the scsi device drivers at boot time. Also you shouldn't need to create new device files if its only the third drive - that should be /dev/sdc for 'regular' scsi (assuming you set the id higher than existing drives) and linux should just detect the drive at start-up.



On /etc/fstab, you must have used a tool like linuxconf because theres nothing that would automatically add a partition to fstab.



Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top