Yahoo : Winternet : TC Guide  : Files of Local Interest Enter Sysinfo.com :

Subject: Re: Embarrassing Question
Subject: Re: Renaming mounted directories





Newsgroups: comp.unix.misc
From: mlaviX@actcom.co.il ("Lavi Moshe,contractor,Digital,,")
Subject: Re: Embarrassing Question
Date: Thu, 21 Sep 1995 09:52:40 GMT
Lines: 14

Hello Guy

  On SunOS (Solaris 1) you have to initialize the floppy
 
 # fdformat /dev/rfd0c
 # newfs /dev/rfd0c
 # mount /dev/fd0c /mnt

 on Solaris 2.x the floppy is refferenced as /vol/dev/diskette0

 Regards

Moshe Lavi


--


From: psh@news.spaceworks.com (Paul Hite)
Newsgroups: comp.unix.questions
Subject: Re: Renaming mounted directories
Date: 27 Sep 1995 10:56:59 -0400
Lines: 38
Mime-Version: 1.0

In article <43ug7u$pd0@decaxp.harvard.edu>,
David Thompson <dthomps@fas.harvard.edu> wrote:
>               Our situation is as follows:  a new drive was recently
>installed on our system (this in a Harvard toxicology department sans UNIX
>expertise...).  We would like to move the contents of /usr to the new
>drive (currently a single partition with "/usr2" on it) and then rename
>/usr2 as /usr and remove the old /usr system entirely.  We would then like
>to expand the / directory of the old drive to utilize the space in the
>original /usr partition.  

Especially with a question like this, it would help a lot if you would
be more specific about what system you have.  Each version of unix is 
a bit different.  And the differences really come into play with system
administration problems like this.  But I'll try to make some general
comments.

If /usr is really a mounted file system, the first part is easy:
	1) Take system to single user mode
	2) copy all of /usr into /usr2
	3) umount /usr and /usr2
	4) mount /usr2's partition as /usr (changing /etc/checklist)

But the second part, expanding /, is not so easy.  Typically, to expand
the root filesystem you will need to do a complete re-install of the OS.
Shortcuts are possible, but they're risky and a failure sends you back
to the re-install.  Is there any way you can borrow a unix expert for
a while?  This might be a good time  8-)

A reasonable question is why expand root?  If you're putting your own 
files in root, you really should put them elsewhere.  Root should really
contain files supplied by the vendor only.  Is /tmp already a separate
partition?  Can you make a new partition to contain whatever it is that
you what to put in root?

Whatever you do, make sure that you have good backups before you proceed.

Paul Hite                    psh@spaceworks.com                (301) 251-4136
      You can't tell which way the train went by studying its tracks.

--

Yahoo : Winternet : TC Guide  : Files of Local Interest Enter Sysinfo.com :



Hosted by:


©copyright 1995-2002 sysinfo.com