Relabeling the partions will not destroy exisiting partitions on the same
disk.
You will need to make sure that the system isn't actually using it as swap.
- Check the fstab and the partition(s) pointed to by the sysconfig file
(5.x)
  or by /sbin/swapdefault
- You will need to reboot to clear the swap usage.
Once you've done that, just use "mkfdmn" to make the file domain, or
if you want to add the space to an existing volume, "addvol", and the
AdvFS software will change the partition use ("fstype") to AdvFS.
Thanks for all the answers, 
Arjen
> Fellow managers,
> 
> I have got the following disk:
> 
> # /dev/rre2a:
> type: SWXCR
> disk: SWXCR
> label:
> flags:
> bytes/sector: 512
> sectors/track: 32
> tracks/cylinder: 128
> sectors/cylinder: 4096
> cylinders: 4339
> sectors/unit: 17772544
> rpm: 3600
> interleave: 1
> trackskew: 0
> cylinderskew: 0
> headswitch: 0           # milliseconds
> track-to-track seek: 0  # milliseconds
> drivedata: 0
> 
> 8 partitions:
> #          size     offset    fstype   [fsize bsize   cpg]      # NOTE:
> values t
>   a:     131072          0    unused        0     0             # (Cyl.
0
> - )
>   b:    4096000          0      swap                            # (Cyl.
0
> - )
>   c:   17772544          0    unused        0     0             # (Cyl.
0
> - )
>   d:          0          0    unused        0     0             # (Cyl.
0
> - )
>   e:          0          0    unused        0     0             # (Cyl.
0
> - )
>   f:          0          0    unused        0     0             # (Cyl.
0
> - )
>   g:    6163893    4096000     AdvFS                            # (Cyl.
1000
> - )
>   h:    7478735   10293809     AdvFS                            # (Cyl.
> 2513*- )
> 
> I want to change partition b from swap to AdvFS. Will this destroy the
> exisiting g and h partition when I relabel the disk? These are currently
in
> use by 2 filesystems. I want to do this on the fly without unmouting the g
> and h filesystems.
> 
> Thanks,
> 
> Arjen Visser
> 
Tom
 
 Dr. Thomas P. Blinn + UNIX Software Group + Compaq Computer Corporation
  110 Spit Brook Road, MS ZKO3-2/W17   Nashua, New Hampshire 03062-2698
   Technology Partnership Engineering           Phone:  (603) 884-0646
    Internet: tpb_at_zk3.dec.com      - or -     thomas.blinn_at_compaq.com
     ACM Member: tpblinn_at_acm.org         PC_at_Home: tom_at_felines.mv.net
  Worry kills more people than work because more people worry than work.
      Keep your stick on the ice.        -- Steve Smith ("Red Green")
     My favorite palindrome is: Satan, oscillate my metallic sonatas.
                              -- Phil Agre, pagre_at_alpha.oac.ucla.edu
     Yesterday it worked / Today it is not working / UNIX is like that 
                        -- apologies to Margaret Segall 
  Opinions expressed herein are my own, and do not necessarily represent
  those of my employer or anyone else, living or dead, real or imagined.
 
Received on Thu Feb 28 2002 - 13:20:08 NZDT