tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: Will relabeling disk destroy exisiting partitions on sam e
@ 2002-02-28  2:26 Arjen Visser (DSL AK)
  0 siblings, 0 replies; only message in thread
From: Arjen Visser (DSL AK) @ 2002-02-28  2:26 UTC (permalink / raw)
  To: tru64-unix-managers

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@zk3.dec.com      - or -     thomas.blinn@compaq.com
     ACM Member: tpblinn@acm.org         PC@Home: tom@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@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.
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-02-28  2:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-28  2:26 SUMMARY: Will relabeling disk destroy exisiting partitions on sam e Arjen Visser (DSL AK)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox