tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* does disklabel modification keeps existing data
@ 2000-06-14 16:04 Francis Lachance
  0 siblings, 0 replies; only message in thread
From: Francis Lachance @ 2000-06-14 16:04 UTC (permalink / raw)
  To: tru64-unix-managers

Hi,

I've inherited a couple of Digital UNIX box (4.0D). I am currently running 
out of space so I've been looking to find if I had unused partition.
I've found that two of the disks have unused space but that space is not 
partitioned. If I use disklabel to correct the situation and add a new 
partition with the unused space but leave the existing partitions as they 
are, do I lose the data on the existing partitions ? Any gotchas I should 
look for ?

example
current disklabel:

# /dev/rre1a:
type: SWXCR
disk: SWXCR
label:
flags:
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 128
sectors/cylinder: 4096
cylinders: 3315
sectors/unit: 13578240
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]
   a:	585016		0	AdvFS				# (Cyl.    0 - 142*)
   b:	6829710	585016	AdvFS                        		# (Cyl.  142*- 1810*)
   c:	13578240	0	unused       0     0         		# (Cyl.    0 - 3314)
   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:	13185024	393216	unused       0     0         		# (Cyl.   96 - 3314)
   h:	0		0	unused       0     0         		# (Cyl.    0 - -1)


I want to change it to look like:
# 	size		offset	fstype	[fsize bsize   cpg]
   a:	585016		0	AdvFS				# (Cyl.    0 - 142*)
   b:	6829710	585016	AdvFS                        		# (Cyl.  142*- 1810*)
   c:	13578240	0	unused       0     0         		# (Cyl.    0 - 3314)
   d:	6163514	7414726unused       0     0         		# (Cyl. 1810* - 3314)
   e:	0		0	unused       0     0         		# (Cyl.    0 - -1)
   f:	0		0	unused       0     0         		# (Cyl.    0 - -1)
   g:	0		0	unused       0     0         		# (Cyl.    0 - -1)
   h:	0		0	unused       0     0         		# (Cyl.    0 - -1)

Thanks
Francis
lachance@dmcs.dnd.ca

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

only message in thread, other threads:[~2000-06-14 16:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-06-14 16:04 does disklabel modification keeps existing data Francis Lachance

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