Hi all,
I omitted the final step in the below process which is to reboot the filer when the work has been completed.
Regards, Philip
On Wednesday 11 January 2006 08:08, Philip Boyle wrote:
Hi Tim,
I personally created a new traditional root volume within the aggregate and did an ndmpcopy of the current traditional root volume to the newly created flexible root volume.
I was then able to re-size the new flexible root volume and re-allocate the 'now spare' disks to my aggregate.
Using 2x72GB disks for a traditional root volume on a filer running ONTAP 7 didn't seem right but that's just a personal view. If you can afford the luxury of using 2 disks for your root volume then it's really a matter of choice.
Note my environment was a cluster of FAS940's.
See below for a view pointers on how I migrated my traditional root volume.
Create new root flexible volume
- vol create newrootvol aggr0 68G
Verify the new root volume
- vol options vol0
Rename the original root volume to another name.
- vol rename vol0 vol0orig
Rename the new flexible volume to vol0
- vol rename newrootvol vol0
Make the new flexible volume the new root volume
- vol options vol0 root
Enable ndmp
- options ndmpd.enable on
Copy original root volume data to new root volume
- ndmpcopy /vol/vol0orig /vol/vol0
- Note if the new flexible root volume 'vol0' hasn't been set as root (
see 'vol options' ) you must use the -f flag with ndmpcopy to overwrite the etc directory. See man ndmpcopy.
Destroy the original root volume
- vol offline vol0orig
- vol destroy vol0orig
- disk zero spares
( Make sure you're happy everything is in order before you do this ) Note, I'd snapmirrored my traditional root volume to a remote filer to ensure I'd a backup in the event of any problems. You can never be too careful...
Resize new flexible vol0
- vol size vol0 10G
Regards, Philip
On Tuesday 10 January 2006 15:28, Tim Longo wrote:
I'm in the process of setting up a new FAS270. The first thing I did was upgrade firmware/nd Ontap to version 7. After doing some reading, I think I will plan to implement FlexVols in the remaining free space. The root Vol0 seems to be bigger than I would have made it, and it seems it needs to be a traditional Vol that I cannot resize. I'd be interested to know what other people are doing here... are you leaving Vol0 as a traditional volume and adding other flex vols? What about resizing the root volume?
Thanks.