tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Francis Lachance <lachance () dmcs ! dnd ! ca>
To: tru64-unix-managers
Subject: does disklabel modification keeps existing data
Date: Wed, 14 Jun 2000 16:04:09 +0000	[thread overview]
Message-ID: <96099890632662.tru64-unix-managers.marc@archive.invalid> (raw)

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

                 reply	other threads:[~2000-06-14 16:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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