- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Is it posible to get NFS working from the recovery...
Operating System - HP-UX
1753528
Members
5017
Online
108795
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
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
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
тАО06-15-2010 02:17 AM
тАО06-15-2010 02:17 AM
Hi,
Imagine, I have a corrupt /usr, system doesn't boot, no ignite backup, but I have 3rd party backup(legato,tsm,etc)
What I would like to do is..
1.boot to ignites recovery shell
2.loadfiles to get network and nfs server working(seems imposible work)
3.newfs usr lvol
4.mount new /usr via nfs on another server
5.restore files with 3rd party backup tool
Another option:
1.all the same, but just get working nfs client(it should be posible, the ignite recovery mounts with nfs)
2.mount via nfs the old(restored) /usr to a temporary mount point
3.newfs our corrup /usr
4.copy files from temporary mount point to /usr
Has anyone looked into this?
Thnx
Imagine, I have a corrupt /usr, system doesn't boot, no ignite backup, but I have 3rd party backup(legato,tsm,etc)
What I would like to do is..
1.boot to ignites recovery shell
2.loadfiles to get network and nfs server working(seems imposible work)
3.newfs usr lvol
4.mount new /usr via nfs on another server
5.restore files with 3rd party backup tool
Another option:
1.all the same, but just get working nfs client(it should be posible, the ignite recovery mounts with nfs)
2.mount via nfs the old(restored) /usr to a temporary mount point
3.newfs our corrup /usr
4.copy files from temporary mount point to /usr
Has anyone looked into this?
Thnx
Windows?, no thanks
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2010 02:44 AM
тАО06-15-2010 02:44 AM
Solution
It *may* be possible, but I think it would be rather tricky to do.
If it's possible to add another local disk to the system (or acceptable to overwrite one-half of a mirrored system disk), I would re-install a very basic installation of HP-UX on that disk: Foundation OE and only whatever is needed for the 3rd party backup program to successfully install & run.
Once the backup client is running on the "recovery OS", I would vgimport the original vg00 to the recovery OS (using some other name, e.g. vgrecovery) and mount its root filesystem to a temporary mount point, and other filesystems to appropriate locations within the temp-mounted root filesystem.
Then I could use the 3rd party backup tool as usual to restore files. I would have no problem overwriting anything in the old installation, because none of those files would be actually in use at the time.
Once all the necessary restoration is done, I could simply reboot the system and choose to boot from the old system disk again (with the -lq boot option if I had to sacrifice one half of the mirror for the rescue operation). If it turned out I forgot something (or that the damage was more extensive than originally suspected), it would be easy to reboot back to the "rescue OS" installation and restore more files.
The last step would be to remove the extra disk / re-mirror the system disk, *and* take an Ignite backup of the system :)
This procedure is sufficiently similar to a regular HP-UX installation that you might be able to give good estimates of time required, which would make the bosses happier. It also allows you to use what you're familiar with instead of breaking new ground, which can be kind of stressful in an emergency situation.
MK
If it's possible to add another local disk to the system (or acceptable to overwrite one-half of a mirrored system disk), I would re-install a very basic installation of HP-UX on that disk: Foundation OE and only whatever is needed for the 3rd party backup program to successfully install & run.
Once the backup client is running on the "recovery OS", I would vgimport the original vg00 to the recovery OS (using some other name, e.g. vgrecovery) and mount its root filesystem to a temporary mount point, and other filesystems to appropriate locations within the temp-mounted root filesystem.
Then I could use the 3rd party backup tool as usual to restore files. I would have no problem overwriting anything in the old installation, because none of those files would be actually in use at the time.
Once all the necessary restoration is done, I could simply reboot the system and choose to boot from the old system disk again (with the -lq boot option if I had to sacrifice one half of the mirror for the rescue operation). If it turned out I forgot something (or that the damage was more extensive than originally suspected), it would be easy to reboot back to the "rescue OS" installation and restore more files.
The last step would be to remove the extra disk / re-mirror the system disk, *and* take an Ignite backup of the system :)
This procedure is sufficiently similar to a regular HP-UX installation that you might be able to give good estimates of time required, which would make the bosses happier. It also allows you to use what you're familiar with instead of breaking new ground, which can be kind of stressful in an emergency situation.
MK
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2010 04:43 AM
тАО06-15-2010 04:43 AM
Re: Is it posible to get NFS working from the recovery shell ?
Shalom,
What you say may work. It is as stated above, very tricky.
With no Ignite backup I would install a new OS on a secondary disk.
This would give me full NFS connectivity. Then I would mount the old corrupt /usr directory and restore the data to it with a third party tool or simple copy command.
Much higher chances of success.
SEP
What you say may work. It is as stated above, very tricky.
With no Ignite backup I would install a new OS on a secondary disk.
This would give me full NFS connectivity. Then I would mount the old corrupt /usr directory and restore the data to it with a third party tool or simple copy command.
Much higher chances of success.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2010 05:35 AM
тАО06-15-2010 05:35 AM
Re: Is it posible to get NFS working from the recovery shell ?
Thnx Guys, the procedure you mention, works fine I remember a couple of years ago, I had to do something similar, because I had a corrupted /usr(bad disk with a bad mirror) and the ignite image was like 3 years old.
So I restored from ignite the 3 year old image to the mirror disk.
imported the vg00 of the original disk to a temporary /mnt, and restored it with TSM.
Then booted the original disk fine.
But I would have hoped, that HP had got a more or less difficult way of being able to get network and nfs working from a ram shell.
kind of a nfs linux bussy box shell's that are out there.
I can't recall rigth now, when you boot from a install dvd/cd you get the same recovery shell ?
So I restored from ignite the 3 year old image to the mirror disk.
imported the vg00 of the original disk to a temporary /mnt, and restored it with TSM.
Then booted the original disk fine.
But I would have hoped, that HP had got a more or less difficult way of being able to get network and nfs working from a ram shell.
kind of a nfs linux bussy box shell's that are out there.
I can't recall rigth now, when you boot from a install dvd/cd you get the same recovery shell ?
Windows?, no thanks
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