- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Recover /var filesystem from a damage disk
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
Discussions
Discussions
Forums
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
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-22-2005 10:51 AM
тАО11-22-2005 10:51 AM
The filesystems that are unable to be mount are /var and /tmp.
What will be the procedure to can recover these filesystem in a new disk?
Disks are not hotswap because is a really old disk system.
Here are the error messages:
# mount -a
mount: /dev/vg02/data is already mounted on /data
mount: /dev/vg00/lvol5 is already mounted on /home
mount: /dev/vg00/lvol6 is already mounted on /opt
vxfs mount: /dev/vg00/lvol4 is already mounted, /tmp is busy,
or allowable number of mount points exceeded
mount: /dev/vg00/lvol7 is already mounted on /usr
mount: /dev/vg01/orahome is already mounted on /usr/oracle
vxfs mount: read of super-block on /dev/vg00/lvol8 failed: I/O error
mount: /dev/vg00/lvol1 is already mounted on /stand
I have a tar and an ignite tape.
Regards,
Veronica.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2005 11:11 AM
тАО11-22-2005 11:11 AM
Re: Recover /var filesystem from a damage disk
I presume from your post that the disk is *not* mirrored. The fastest recourse is probably to replace the disk and re-Ignite the system.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2005 11:14 AM
тАО11-22-2005 11:14 AM
Re: Recover /var filesystem from a damage disk
Could you explain me, please?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2005 12:03 PM
тАО11-22-2005 12:03 PM
Re: Recover /var filesystem from a damage disk
You say that you have an Ignite 'make_tape_recovery' tape. Given that, you essentially do the following.
Boot your server from the tape drive containing your Ignite tape. Select "No" when asked if you wish to interact with the IPL.
After a few minutes you will see the message "Recovery tape created from system
Choose "Install / Media Only" and select the Advanced Installation tab to customize your installation. You have the opportunity to resize your vg00 filesystems to new sizes if you wish.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2005 12:23 PM
тАО11-22-2005 12:23 PM
Re: Recover /var filesystem from a damage disk
The disk has allready passed its life it seems. Where does your /var & /tmp lies. If these are on the same disk which holds other LVOLs in vg00 then it is time to replace disk and restore from ignite as communicated earlier.
If this particular disk only holds /var & /tmp then replace the disk and try restoring file systems to new disk.
There should not be anything in /tmp to be recovered, only one file system should be created and mounted. For /var you can recover using ignite tape.
#pwd
/var (Mounted file system after replacing disk)
#mt -t /dev/rmt/0mn rew
#mt -t /dev/rmt/0mn fsf 1
#tar -xvf /dev/rmt/0mn /var .
If your vg00 has free space to create new file system then prior to replacing disk you can create another file system and can mount that as /var and /tmp to restore from tape.
If you are doing so also modify /etc/fstab accordingly.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2005 07:11 AM
тАО11-24-2005 07:11 AM
Re: Recover /var filesystem from a damage disk
Your first task should be identifying the defective disk. If it's not a root disk, means if the /var and /tmp is on another disk where, root,boot and swap is not included go with with devender's idea.
If the disk is common for the entire root VG, there is no go, other than restoring the system from ignite copy after replacing the defective disk.
Post vgdisplay -v o/p, more over peform a disk check on the defective disk by dd, for possible bad sectors.
Regards,
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2005 10:19 AM
тАО11-24-2005 10:19 AM
Re: Recover /var filesystem from a damage disk
As this disk added get damage, when the server boots these filesystems are not mounted.
So, the procedure to restore will be
using the ignite tape, in the advance option in order to add two extra disks 4Gb each as the lost disk was 9Gb and to exclude from the vg00 the damage disk. Am I correct?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2005 04:03 AM
тАО11-25-2005 04:03 AM
SolutionAt this case before going for the ignite, u can try out the following.
1. Boot server in single user mode
2. mount all filesystems except /var and /tmp
2. #/usr/sbin/lvreduce /dev/vg00/lvol4
3. #/usr/sbin/lvreduce /dev/vg00/lvol8
4. #/usr/sbin/vgreduce vg00
Then replace disk, extend the vg, extend the LVs of /var and /tmp. Then boot the system in multiuser mode.
This think I haven't tried yet, just a try, any mistake, pls excecuse
Regards,
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2005 04:27 AM
тАО11-25-2005 04:27 AM
Re: Recover /var filesystem from a damage disk
So, after doing that I will be able to restore my tar or ignite tape, don't you?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2005 06:53 AM
тАО11-25-2005 06:53 AM