Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Technocod on August 05, 2002, 12:50:29 AM
-
Is it possible to add a seccond IDE hard drive to an existing E-Smith server, and set any new IBays to use the space on this, without having to reinstall?
-
Yes, it is quite easy. Simply install the drive and modify /etc/fstab to point to the partition of the new drive.
Hope this helped,
Nathan
-
Hello, Technocod,
Read the follow topic off the forum
http://forums.contribs.org/index.php?topic=12043.msg45225#msg45225
This all what you need i think
Grtz
Johan
-
Thankyou both for your posts - I'll try this out. I had tried to search the forums for my answer, but I guess I need to refine my search technique !
Thanks again
-
The thread says;
'look for the row
"LABEL=/boot "
Change here the row for a Ibay
example (in the orginal is it /dev/hdc1 /.....etc)
/dev/hdd1 /home/e-smith/files/ibays/mp3/html ext2 defaults 1 2
save the file with F10'
But my /etc/fstab contains;
LABEL=/boot /boot ext2 defaults 1 2
rather than /dev/hdc1/....etc - as the post suggests.
You'll need to bear with me here, I know nothing much about Linux (which is what attracted me to esmith), so where am I going wrong? Do I just replace the seccond /boot for /dev/hdd1 or whatever the new drive becomes? TIA
-
Paste the contents of your existing /etc/fstab and tell me the name of the partition you are going to use for your new ibays folder and I'll give you the entry you need.
Thanks,
Nathan
-
A quick related question:
what happens to files already in the original /home/e-smith/files/ibays/mp3/html folder once you mount a second IDE drive?
-
You would need to copy them to a temp folder and once mounted, copy them back to their original location. I would recommend doing the following:
cd /home/e-smith/files
tar --create --gzip --file=/home/e-smith/files/ibays.tgz ibays
Then, once you have completed your changes and updated your mount point:
cd /home/e-smith/files
tar -zxvf ibays.tgz
-
thanks, now if only I didn't want to do this with my movies ibay with 15 gig of movies :(
-
My fstab file;
File: fstab Col 0 623 bytes 100%
LABEL=/ / ext2 usrquota,grpquota
1 1
LABEL=/boot /boot ext2 defaults 1 2
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
none /proc proc defaults 0 0
#none /dev/shm tmpfs defaults 0 0
none /dev/pts devpts gid=5,mode=620 0 0
/dev/hda5 swap swap defaults 0 0
The drive I'll be adding will be the primary slave, and will be formatted to one big partition - any ideas?
-
Add this line:
/dev/hd(X) /home/e-smith/files/ibays ext2 usrquota,grpquota 1,3
Where (X) is the partition number, such as /dev/hdb5, etc.
Hope this helped,
Nathan