SUMMARY: Chnaging Partitions

From: Scott A Surguine (s3surgui@copper.Denver.Colorado.EDU)
Date: Wed Jan 20 1993 - 06:02:31 CST


Recently, I was changing my user partition from sd0g --> sd2g on a
SUN IPX. My Post:

> My question is as follows:
 
>
> I have just formatted a new 1GB drive: For now at least, I would like
> to make this my /usr partition and transfer my /usr on sd0g to
> something like home1.
>

> What is the best route to take when Re-formatting a partition on my
> Boot Drive. Should I use Sun-OS format: Sun-Install: or are their
> any other methods I could choose.
> I am also curious why I couldn't just rm -r /usr.

> Of course I don't plan to change any of the partition Info on the disk.
> I merely plan to nuke /usr(old) and change the partition to /home1

The reply I was looking for came from

kbibb@qualcomm.com Sat Jan 16 16:58:41 1993
Subject: Re: Changing Partition on Boot Drive
Status: R

I would just newfs the partition manually--this is what suninstall
does. You want to avoid format because format works on disks and
not partitions (from what I've seen). You would not only nuke sd0g,
but sd0a, b, d, e, f...

> I am also curious why I couldn't just rm -r /usr. Make the
> appropriate entry in my /etc/fstab:

Because the rm -r would be incredibly slow and would follow symbolic
links, wiping out stuff on other partitions.

> That is change mount point for /usr to /home1

When you're finished with everything, you can just change the mount
points in your /etc/fstab and then reboot. Make sure you didn't make
any mistakes though!

> Of course I don't plan to change any of the partition Info on the disk.
> I merely plan to nuke /usr(old) and change the partition to /home1

Btw, you know how to transfer the stuff between the two partitions, right?

--
Ken Bibb                "And something is cracking, I don't know where
kbibb@qualcomm.com	 Ice on the sidewalk, Brittle branches in the air"
jester@crash.cts.com    	--"Cracking", Suzanne Vega 

Thanks,

Scott A. Surguine



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:07:24 CDT