tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* disklabel/swap
@ 1999-03-11 15:54 Ellen Davis
  0 siblings, 0 replies; only message in thread
From: Ellen Davis @ 1999-03-11 15:54 UTC (permalink / raw)
  To: tru64-unix-managers


I need to add more swap to my system.  I have some space available on one
of my disks, but it is on partition h.  Can I take some space from h and
put it on b?  Or do the partitions have to be in order?

Right now I have a muddled head from the flu/cold.  Are these the correct
commands to relabel the disk and add the new swap?

/sbin/vdump -f /dev/rmt1h -0 -N -u /work
rmfdmn work_domain
(edit disklabel putting some space from 3h to 3b)  new label:
  a:   131072        0    unused       
  b:   800000  8886762    unused       
  c: 17773524        0    unused       
  d:        0        0    unused      
  e:        0        0    unused     
  f:        0        0    unused       
  g:  8886762        0     AdvFS      
  h:  8086762  9686762     AdvFS      

mkfdmn /dev/rz3h work_domain
newfs /dev/rz3b 
vrestore -f /dev/nrmt1h -D /work
swapon /dev/rz3b
(add /dev/rz3b        swap4  ufs sw 0 2	to fstab)


Why does the disklabel -e and disklabel -p display different labels?  How
can I make them the same?  Or do I not want them the same?  Is this a problem?


disklabel -e /dev/rrz3c
8 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  a:   131072        0    unused        0     0         # (Cyl.    0 - 43*)
  b:   262144   131072    unused        0     0         # (Cyl.   43*- 129*)
  c: 17773524        0    unused        0     0         # (Cyl.    0 - 5846*)
  d:        0        0    unused        0     0         # (Cyl.    0 - -1)
  e:        0        0    unused        0     0         # (Cyl.    0 - -1)
  f:        0        0    unused        0     0         # (Cyl.    0 - -1)
  g:  8886762        0     AdvFS                        # (Cyl.    0 - 2923*)
  h:  8886762  8886762     AdvFS                        # (Cyl. 2923*- 5846*)

  
disklabel -p /dev/rrz3c
8 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  a:   131072        0    unused        0     0         # (Cyl.    0 - 43*)
  b:   262144   131072    unused        0     0         # (Cyl.   43*- 129*)
  c: 17773524        0    unused        0     0         # (Cyl.    0 - 5846*)
  d:        0        0    unused        0     0         # (Cyl.    0 - -1)
  e:        0        0    unused        0     0         # (Cyl.    0 - -1)
  f:        0        0    unused        0     0         # (Cyl.    0 - -1)
  g:  8690154   393216    unused        0     0         # (Cyl.  129*- 2987*)
  h:  8690154  9083370    unused        0     0         # (Cyl. 2987*- 5846*)


 Ellen Davis
 Ellen.Davis@uc.edu

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

only message in thread, other threads:[~1999-03-11 15:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-11 15:54 disklabel/swap Ellen Davis

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