Koozali.org: home of the SME Server

making more space in IBay dir

Chris

making more space in IBay dir
« on: August 12, 2003, 09:54:24 AM »
Hello,

I am in need of more space in the ibay dir. So i have installed a new 20gb hdd drive and restarted linux. It found the drive as hdb (second drive on the primary controler). i will install another 20gb drive for the same reason after i have figured out this.

what i am trying to achive is that the two 20gb drives hold all of the ibays data and the primary drive (hda) hold none.

Now myquestion is that most of the howtos say that you SHOULD mnt the HDD/partition in the /mnt folder as that is good practice. THat is great but how do i get the new drives space to be used for the IBAYS?

I know that i can mount the new drive/partion (the drive only has one partition) into the ibay dir with ' mount /dev/hdb /home/e-smith/files/ibays' and that should mount the partion in the ibays dir. Which will make the space available in the ibays dir physicaly bigger than the space on the primary HDD.

Will anymore informaton be stored on the primary drive or will any other information be stored on the new drive?

Is it possable to 'cut' the contence of the ibays dir and place it somewhere else then mount the new partion in the ibays dir and then 'cut & paste' the original ibays data back to the ibays dir (with the new partition mounted to it). will the data tehn be 'on' the new second drive hdb?

Or is there a simpler way of doing this?


thanks for any help you can give.

Chris

guestHH

Re: making more space in IBay dir
« Reply #1 on: August 12, 2003, 11:54:01 AM »
- First mount the second HD in /mnt/extrahd
- Then copy all of the original Ibay to /mnt/extrahd
- unmount /mnt/extrahd
- Delete the original ibay content
- mount the extra HD like in your example

New data will get written to the new hd. Maybe you want to automount the new hd at the correct location each time you boot. Take a look at fstab.

Chris

Re: making more space in IBay dir
« Reply #2 on: August 12, 2003, 02:05:22 PM »
Thanks for that.

1. will coping the data to the /mnt/extrahdd copy accross the access permissions or are they stored else where.

2. when i delete the old content from the ibays folder and then mount the new hdd in teh ibays folder, the space that is now used is the new hdd correct?

3. sorry i did mean to enter the new hdd in the fstab. i forgot to put that in.

Thanks