Koozali.org: home of the SME Server

Expanding disk space for ibays

Emiel van Leeuwen

Expanding disk space for ibays
« on: April 23, 2001, 12:41:56 PM »
Hi there,

I'am using Adrian Chung's e-smith jukebox functionality and it really works great, but I am running out of disk space at the moment.

Now that I have an additional scsi disk installed I would like to use it to expand my ibay (home dir) disk space. If I mount the 2nd disk on home the rest of the home dir is invisible (as explained in the mount man pages) so how can I solve this disk problem.

1st disk sda contains e-smith server
2nd disk sdb empty 9 gb

Please advice

Kind regards

Emiel van Leeuwen

Dan Brown

Re: Expanding disk space for ibays
« Reply #1 on: April 23, 2001, 06:13:40 PM »
Rather than mounting the new drive at /home, mount it at /home/e-smith/files/ibays/mp3 (or whatever).

Patrick Fraley

Re: Expanding disk space for ibays
« Reply #2 on: April 23, 2001, 08:03:44 PM »
Why don't you mount the new hardrive temporarely on /mnt.

Then move over all the files in /home to /mnt (be sure to only move the contents of /home not /home itself ;o)

Now unmount the drive.  In fstab add an entry for your new drive to be mounted in /home.

Now reboot the system and your new drive should be mounted in /home and it should contain all your data.

When you move over the files make sure you preserve access rights, dates, etc.

I hope this solved your problem

   -- Patrick

Jason Miller

Re: Expanding disk space for ibays
« Reply #3 on: April 23, 2001, 08:45:25 PM »
Another alternative can be found here:

http://forums.contribs.org/index.php?topic=1577.msg5289#msg5289

I actually mounted a second hard drive to /mp3 and then symlinked the contents into the ~mp3 i-bay - with all the other instructions done so that the Mp3 jukebox code could still work.

Regards,

Jay