- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Moving a filesystem to an seperate LV.
Operating System - HP-UX
1753481
Members
4985
Online
108794
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
01-31-2006 02:26 AM
01-31-2006 02:26 AM
Re: Moving a filesystem to an seperate LV.
Mitchell,
brief steps if you must mv directory.
make new file systems and mount on junk
mkdir /tmp/junk_new
mount /dev/vg00/lvol?? /tmp/junk_new
Move to your source files
cd /var/junk_old
tar cvf - *|(cd /tmp/junk_new; tar xvf -)
above would tar the files from /var/junk_old and dump them on /tmp/junk_new
after confirming the files are the same, then follow the next step
Hopefully, the files system or files you plan to move are those that could be moved withput an outage.
If the directory is a file system, try to mount, if it does then you may be ok. If not you might need to be on single user level before you can do that or maintenance level.
If it is a dirctory, if it is in use it could be difficult to mount on.
Let us knowthe directory in question.
brief steps if you must mv directory.
make new file systems and mount on junk
mkdir /tmp/junk_new
mount /dev/vg00/lvol?? /tmp/junk_new
Move to your source files
cd /var/junk_old
tar cvf - *|(cd /tmp/junk_new; tar xvf -)
above would tar the files from /var/junk_old and dump them on /tmp/junk_new
after confirming the files are the same, then follow the next step
Hopefully, the files system or files you plan to move are those that could be moved withput an outage.
If the directory is a file system, try to mount, if it does then you may be ok. If not you might need to be on single user level before you can do that or maintenance level.
If it is a dirctory, if it is in use it could be difficult to mount on.
Let us knowthe directory in question.
- « Previous
-
- 1
- 2
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP