- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- recreate /var !!!
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
Discussions
Forums
Discussions
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
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
05-26-2005 02:32 AM
05-26-2005 02:32 AM
in a Lclass1000 hpux11.00 we changed a crashed disk
it was a operating system disk, mirrored.
I found in the lvdisplay -v /dev/vg00/lovl8
some ??? instead rhe special file of the disk.
in the mirrored too!!!
infact I can't mount /var.. and I can't do fsck
so, yesterady HP changed the disk.. and they did the sync of the vg00.....
now... I want to recreate /var
I guess to do the following steps:
- lvreduce -m 0 /dev/vg00/lvol8 /dev/dsk/cxtxdx
- lvremove /dev/vg00/lvol8
- lvcreate -L xx /dev/vg00/lvol8
- newfs -F vxfs /dev/vg00/rlvol8
- mount /dev/vg00/lvol8 /var
We have a tape with the bkup of /var
I can use it or I need the make_tape_recovery cassette?
I know about the command "mt" but can you help to perform this activity
Thanks for help
L.F
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2005 02:41 AM
05-26-2005 02:41 AM
SolutionOnce you have completed the restore, recreate the mirror so you can get the /var back over there as well.
If all else fails, you do have the make_recovery tape. To get just the /var off of it, mt -f /dev/rmt/0m fsf 1 (Assuming the tape device is 0m)
Skip ahead 1 file mark off the make_recovery tape and then you can use the tar command. Remember the tar tape has saved in absolute path, be careful you only get the /var info.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2005 02:42 AM
05-26-2005 02:42 AM
Re: recreate /var !!!
# fsck -F vxfs -o full /dev/vg00/lvol8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2005 02:44 AM
05-26-2005 02:44 AM
Re: recreate /var !!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2005 02:49 AM
05-26-2005 02:49 AM
Re: recreate /var !!!
do you think I can use simply the tar command to restor /var?
from /
tar xvf ./var/*
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2005 03:24 AM
05-26-2005 03:24 AM
Re: recreate /var !!!
tar xvf /dev/rmt/0m var
Depends on how the tar command was used to back up var in the first place. If you do a
tar vft /dev/rmt/0m
or whatever your tape drive, see if it lists files as
/file
or
file
Then recover by using
cd /
tar xvf /dev/rmt/0m var
or
tar xvf /dev/rmt/0m /var
as appropriate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2005 04:23 AM
05-26-2005 04:23 AM