LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Creating partitions...

[ILUG] Creating partitions...

Kenn Humborg kenn at bluetree.ie
Thu Sep 6 13:53:38 IST 2001


...
> Now, how to do the rest? Well my idea (which I couldn't see problems with)
> was to tar off the data on the fly from /usr to /mnt/usr, from
> /var to /mnt/var
> etc. etc.
> e.g.:
> cd /usr; tar lcvf - . | (cd /mnt/usr; tar xpvf - )
>
> Now next thing to do was to move across the folder, I added an entry into
> /etc/fstab for each of the devices
>
> /dev/sda6 /opt ext2 defaults 1 1
> ...
>
> Now, while in single user mode, I did the following:
>
> cd /
> mv usr usr.old
> umount /mnt/usr
> mount /usr

This doesn't explain the behaviour you saw, but it is work mentioning
for anyone else doing this kind of thing:

   You should drop to single-user mode for _all_ of the above, not just
   the last step.  /var is a live filesystem, so could have changed
   between the tar and the umount.

Later,
Kenn





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell