re-partitioning filesystems

re-partitioning filesystems

Post by Warren Milbu » Sat, 24 Jan 1998 04:00:00



I'm going to be re-partitioning the primary disk on our Solaris 2.5
machine.  I'll be backing up the entire system, using format to
re-define the partition table, creating the new filesystems then
restoring each filesystem into its appropriate slice.  When I restore
the root slice, I assume that the vfstab file will not correspond to
the new structure of my disk.

How do I compensate for this?  Create a new vfstab file before doing
the backup?  Edit the vfstab file once the system is restored? (Is
this possible at all?)

Cheers

Warren

 
 
 

re-partitioning filesystems

Post by R!ch » Sat, 24 Jan 1998 04:00:00



> restoring each filesystem into its appropriate slice.  When I restore
> the root slice, I assume that the vfstab file will not correspond to
> the new structure of my disk.

It depends.  If all you're doing is resizeing the partitions, and
not changing the mount points they refer to, you may not need to
change your vfstab at all.

Email me for more details, if you like.

--

If it ain't analogue, it ain't music.
#include <disclaimer.h>                          \\|// - ?
                                                 (o o)
          /==================================oOOo=(_)=oOOo========\

          |                                                       |
          |                                                       |
          |                          WWW: www.rkdltd.demon.co.uk  |
          |                                 .oooO                 |
          |                                  (  )  Oooo.          |
          \===================================\ (==(   )==========/
                                               \_)  ) /
                                                   (_/

 
 
 

re-partitioning filesystems

Post by Mario Starga » Sat, 24 Jan 1998 04:00:00



Milburn) cost the 'net hundreds, if not thousands of dollars to say:

Quote:>I'm going to be re-partitioning the primary disk on our Solaris 2.5
>machine.  I'll be backing up the entire system, using format to
>re-define the partition table, creating the new filesystems then
>restoring each filesystem into its appropriate slice.  When I restore
>the root slice, I assume that the vfstab file will not correspond to
>the new structure of my disk.

>How do I compensate for this?  Create a new vfstab file before doing
>the backup?  Edit the vfstab file once the system is restored? (Is
>this possible at all?)

>Cheers

>Warren

        Or restore the filesystems and then start a shell from the
install cdrom and fix up /etc/vfstab.  Don't forget to installboot if
you newfs the root partition.

        Good luck,
                Mario

--
Mario Stargard, Systems Admin   |  "Security for an OPEN World"
Product Development Group       |  Network security solutions for
SAGUS Security Incorporated     |   the enterprise.
(613) 234 7300 x214             |  http://www.sagus-security.com

 
 
 

re-partitioning filesystems

Post by Digic » Thu, 29 Jan 1998 04:00:00



says...

Quote:> I'm going to be re-partitioning the primary disk on our Solaris 2.5
> machine.  I'll be backing up the entire system, using format to
> re-define the partition table, creating the new filesystems then
> restoring each filesystem into its appropriate slice.  When I restore
> the root slice, I assume that the vfstab file will not correspond to
> the new structure of my disk.

> How do I compensate for this?  Create a new vfstab file before doing
> the backup?  Edit the vfstab file once the system is restored? (Is
> this possible at all?)

> Cheers

> Warren

 Shouldn't make any difference. vfstab only tells mount what to and where
(with a few other things)

If you use the same slice numbers e.g. root = s0 etc... then I don't see
a problem.

 
 
 

1. partitioning (or, re-partitioning) question

Hi...
  Our sysadmin set up a blade for me but rather than name a partition
what I needed (/usr/gone), he named it something else.  I know I can't
simply mv /oldpartitionname /usr/gone -- but what can I do?  Do I have
to go and repartition it, or is there a simple way to fix this?
  Thanks a bunch.  I'm not much for sysadmin stuff -- and I don't use
the GUI tools, so I appreciate the regular command-line responses...
Thanks...
  - Judy

2. Compaq streaming tape drives-- supported?

3. Quick re-partitioning Q re FIPS & Win95 partition

4. Linux in the Embedded World

5. Re-partitioning disk with mounted partitions ?

6. SLIP sessions HANGING

7. HELP: can't boot to hard drive after re-partitioning

8. Redhat 5.0 install problem, Error occurred while installing bootloader

9. Re-partitioning disk

10. Problem with re-partitioning HD for DOS after having Linux on it

11. Hard Drive Re-partitioning

12. Non-destructive Re-partitioning

13. Safe Re-Partitioning?