Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]tlug: Moving directories to a different disk
- To: tlug@example.com
- Subject: tlug: Moving directories to a different disk
- From: Marcus Metzler <mocm@example.com>
- Date: Mon, 20 Jul 1998 08:43:57 +0900 (JST)
- Content-Type: text/plain; charset=ISO-2022-JP
- In-Reply-To: <Pine.LNX.3.96LJ1.1b7.980720035615.9054E-100000@example.com>
- References: <Pine.LNX.3.96LJ1.1b7.980720035615.9054E-100000@example.com>
- Reply-To: tlug@example.com
- Sender: owner-tlug@example.com
Jonathan Byrne writes: > If I want to move several directories that are currently immediately below > the / directory on the root file system and put them on another disk, what > mount point should I give it? > > For example, I'd like to put /home and /var on /dev/sbd1. If I > just want to move /home, this is easy, since I just need to make a mount > point called /home for /dev/sbd1. But I'm uncertain of how to go about > getting /var and /home both over there? Or is it only possible to have > them both on one partition if they are directly under the / directory? Put the two directories on /dev/sdb1 and than make symbolic links in your / directory. E.g: mount /dev/sdb1 /vol ln -s /vol/home /home ln -s /vol/var /var If you use two partitions on /dev/sdb you have the problem to choose the size for /home and /var separately and it is tough to change when you find out that e.g. /var on /dev/sdb1 needs more space and /home on /dev/sdb2 has 200MB free. I had to do the same thing. I moved my /home and my /usr/local directories on a differnt partition because they were getting too large for the boot partition. I all works fine now. Marcus ---------------------------------------------------------------------------- Dr. Marcus Metzler Department of Physics | $B")(B $B#2#7#4!<#8#5#1#0(B Toho University | $B@example.com)A%66;T;0;3#2!<#2!<#1(B Miyama 2-2-1, Funabashi, | $BElK.Bg3X(B $BM}3XIt(B $BJ*M}(B Chiba 274-8510 | Japan | e-mail : mocm@example.com ---------------------------------------------------------------------------- -------------------------------------------------------------- Next Meeting: 8 August, Tokyo Station Yaesu central gate 12:30 featuring Linux on multiple platforms: i386, Sparc, PA-Risc, Amiga, SGI, Alpha, PalmPilot, ... Next Nomikai: September, 19:30 Tengu TokyoEkiMae 03-3275-3691 -------------------------------------------------------------- Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp
- Follow-Ups:
- Re: tlug: Moving directories to a different disk
- From: Karl-Max Wagner <karlmax@example.com>
- References:
- tlug: Moving directories to a different disk
- From: Jonathan Byrne <jq@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: tlug: PJE
- Next by Date: tlug: Re: 30-72 SIMM adapters
- Prev by thread: Re: tlug: Moving directories to a different disk
- Next by thread: Re: tlug: Moving directories to a different disk
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links