[plug] Filesystem with two HD's

Peter Robinson ribbo at iinet.net.au
Thu Mar 18 15:40:48 WST 1999


On Thu, 18 Mar 1999 david.buddrige at mitswa.com.au wrote:

> what I did when my brother had the same problem was to:
> 
> 1. Mount /dev/hdb1 somewhere (I will assume it is mounted at: /mnt/harddisk
> 2. Create a directory on the blank hard-drive (for example I will assume you
> will create dir called /mnt/harddisk/transferred
> 3. Copy a bunch of files from a large directory on /dev/hda2 (/usr/local is
> usually pretty big) into /mnt/harddisk/transferred
> 4. delete the directory whose contents you have just transferred into
> /mnt/harddisk/transferred
> 5. Create a softlink (or hard-link) from the original location to the new
> location using the original directory name as the name of the link.
> 
> It works just fine... 8-)

The best way to do this sort of thing would be to copy the contents of
/usr/local to the root dir of the new partition and then mount the new
partition as /usr/local rather than use a symlink.

Peter

> > -----Original Message-----
> > From:	gregr at scs.com.au [SMTP:gregr at scs.com.au]
> > Sent:	Thursday, March 18, 1999 3:05 PM
> > To:	plug at linux.org.au
> > Subject:	[plug] Filesystem with two HD's
> > 
> > Howdy,
> > 
> > On my linux box I have the filesystem mounted on /dev/hda2. I want to
> > use a second disk at /dev/hdb1 for extra capacity. I can mount the
> > disk ok, but if hda2 uses up all of its space, it doesn't
> > automagically start using the second disk.
> > 
> > Is there anyway for me to set it up so I can do this? ie. use the two
> > disks as one seamless filesystem? 
> > 
> > Regards,
> > Greg Raftery
> > Strategic Computer Solutions
> > Perth, Western Australia
> 

--------------------------------------------------------------------
| Windows has detected that the mouse has moved, please reboot for |
| this change to take effect                                       |
--------------------------------------------------------------------
Peter Robinson
ribbo at iinet.net.au
http://www.iinet.net.au/~ribbo/



More information about the plug mailing list