home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / admin / 6719 < prev    next >
Encoding:
Text File  |  1992-12-21  |  1.2 KB  |  36 lines

  1. Newsgroups: comp.unix.admin
  2. Path: sparky!uunet!spool.mu.edu!uwm.edu!linac!att!princeton!tex.Princeton.EDU!subbarao
  3. From: subbarao@fc.hp.com (Kartik Subbarao)
  4. Subject: Re: How to move a filesytem?
  5. Message-ID: <1992Dec18.153031.21760@Princeton.EDU>
  6. Originator: news@nimaster
  7. Sender: news@Princeton.EDU (USENET News System)
  8. Nntp-Posting-Host: tex.princeton.edu
  9. Reply-To: subbarao@fc.hp.com
  10. Organization: putchar('I'); for (i = 0; i < 3; i++) putchar('E');
  11. References: <BzFBx0.ECD@encore.com> <1992Dec18.110817.6773@ghost.dsi.unimi.it>
  12. Date: Fri, 18 Dec 1992 15:30:31 GMT
  13. Lines: 21
  14.  
  15. In article <1992Dec18.110817.6773@ghost.dsi.unimi.it> serini@ghost.dsi.unimi.it (Piero Serini) writes:
  16. >tma@encore.com (Thanh Ma) writes:
  17. >
  18. >>My /usr filesystem is full and I would like to move it to a newly-
  19. >>installed second hard disk with the same name /usr. Please show
  20. >>me how to do it. Also how do i reuse the space that /usr on the
  21. >>1st disk occupied?
  22. >
  23. >In single user mode:
  24. >
  25. ># cd /
  26. ># mkdir usr2
  27. ># mount /dev/newdisk /usr2
  28. ># cd usr
  29. ># tar cf - . | compress | (cd /usr2 ; uncompress | tar xf - )
  30. >
  31. >this will be quite long ...
  32.  
  33. Of course it will, if you put compress and uncompress there. Why do that?
  34.  
  35.     -Kartik
  36.