Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2001 11:34 AM
11-20-2001 11:34 AM
R-
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2001 11:41 AM
11-20-2001 11:41 AM
Solutioncd /opt
find . -depth -print | cpio -pvdumx /newopt
After the data transfer is done (omit the "v" flag for speed, include it to check the path(s) if speed is not a worry):
Stop all apps running under /opt.
umount /opt
umount /newopt
mount
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2001 11:41 AM
11-20-2001 11:41 AM
Re: Vg00
For ex., measureware, diagnostics, predictive etc., If you installed any other softwares that reside under /opt, you have to bring them down too.
You can use fuser command to see what processes are attached to /opt and then bring them down if "you can".
Otherwise, boot the system in single user mode and then move /opt.
The best way is to create another file system in a different volume group, mount it as /nopt and copy the data from /opt to /nopt. Unmount /nopt and /opt.
Edit /etc/fstab and replace the entry that mounts /opt with this new logical volume. Then do a mount -a to get the new lvol mounted on /opt. Start all the processes that you stopped. Or if you did this maintenance in single user mode, bring the system to multiuser mode.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2001 11:47 AM
11-20-2001 11:47 AM
Re: Vg00
if you're going to move /opt to another disk in VG00, then "pvmove" is your solution. Can be done online.
If your going to move to another volume group:
- shutdown to single user (as /opt is very probable in use by applications)
- create new lvol in other VG
- mount it on a temporary mountpoint
- cd /opt ; find . -xdev | cpio -pudlmv /tmpopt
- umount /opt
- edit /etc/fstab : /opt should refer to new lvol
- mount /opt
- if everything is OK, old lvol can be dropped
- reboot or init 3
good luck,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2001 11:47 AM
11-20-2001 11:47 AM
Re: Vg00
Hi,
Create a new /opt on some other disk, copy all the files over to it from your root disk, unmount the new /opt, unmount the original /opt, and then permanently mount the new /opt. Also edit the /etc/fstab accordingly so next time whne system boots the new opt will pount.
If you find that some process has one or more files locked on the old /opt, then the fuser command can be used to track them down to be killed (fuser -k )
Goodluck.
-USA..