- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2006 03:23 AM
03-24-2006 03:23 AM
Re: I need to recreate /opt and /var!
I'll even give you a Plan C. You could move /opt and /var to another VG or leave them in vg00 but not on the boot disk. Only /stand, primary swap, and / must be on the boot disk. If you have enough spare PE's on the boot disk, you could create new LVOL's and filesystems there. Then you could simply copy /opt to /newopt for example; umount /newopt; edit /etc/fstab making the /newopt entry /opt and comment out the old /opt entry. (repeat for /var) Reboot and you are back in business. You can then lvremove the original /opt and /var LVOL's.
If it ain't broke, I can fix that.