Doesn't look like I'm able to do what I inteded to do and get the desired
result as Advfs will not see the additional space. I need to backup, modify
the disklabel, recreate the domain and then restore my data.
Thanks to Martin Moore for his quick replies.
Kim
Original Question:
-----Original Message-----
From: Martin Moore [mailto:martin_at_decatl.alf.dec.com]
Sent: Friday, December 31, 1999 11:09 AM
To: kroy_at_ss.ca.gov
Cc: martin_at_decatl.alf.dec.com
Subject: Re: modifying the root device's disklabel
Odd. One thing that might work would be to capture the disklabel to a file
(disklabel -r rz32 > /tmp/label), then zero it with disklabel -z and rewrite
the edited label from the file (disklabel -Rrt advfs rz32 /tmp/label hsz50).
I just went back and re-read your original query and I think you might
actually be trying to do something you can't get away with. Are you trying
to increase the size of the partition on the assumption that advfs will see
the increased partition size and use it? Unfortunately, this is not the
case.
Once the domain is created with mkfdmn, it's of a fixed size -- even if the
underlying storage increases. To use the extra storage, you'll still have
to backup your data, remove and recreate the domain, and then restore it.
Martin
--
Hello managers,
I need to expand the size of my root (advfs) filesystem on a 4.0e 8200
system. The root device, rz32, resides on a non-shared hsz50. I booted
from the installation 4.0e cdrom, chose the "unix shell" option, did a
./MAKEDEV rz32 and my device is seen by the system with its present
disklabel. I modified the disklabel to reflect the changes I want and when
I come to save it, it gives me the error "Partition 'a' is in use; Cannot
modify its size or location." I booted from cdrom, so that device should
definitely not be in use, so what is going on? I am only using partitions a
and b on this disk (root and swap only). As far as I know I should be able
to do this without losing any data on my disk, as long as I am increasing
and not decreasing the size of my 'a' partition. I didn't think I had to
zero out my disklabel, editing it then have to restore my data, but is that
what must be done?
Can anyone help out? I will summarize.
Thanks in advance and happy new millenium!
Kim
Received on Mon Jan 03 2000 - 12:00:18 NZDT