- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: make recovery with non-existing device names i...
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-04-2007 10:58 PM
тАО11-04-2007 10:58 PM
make recovery with non-existing device names in fstab
Imagine a machine which, in case of disaster, takes over a bunch of disks and volume groups from (an)other machine(s) using EMC's SRDF functionality.
(it's a tad more complicated, with dual ServiceGuard clusters and all that, but that's not relevant to this particular problem)
As a result, some VG/LV device files are only present in a failover situation.
During such a failover, however, we need our backup system to back up these production filesystems. Since the backup system relies on fstab for this, we have added these (usually non-existing) filesystems to fstab, using the 'noauto' option to prevent mount-attempts in a normal situation.
Hence, we now have an fstab which contains 'noauto' entries for some devices which, when all is well, do not exist.
So far so good.. until we try an ignite backup: ignite cannot stat these device files, so it spawns an error and quits (as described in http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=11618 and http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1042482 )
These devices/filesystems are irrelevant to the ignite backup itself, but it seems like ignite really needs to find each and every device file mentioned in fstab before it will start creating an image..
The question: does anyone know of a way to tell ignite (C.6.1.44) to 'ignore' these non-existing device names in fstab ? Or am I being too optimistic here ;-)
Cheers,
Wout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2007 04:38 AM
тАО11-05-2007 04:38 AM
Re: make recovery with non-existing device names in fstab
-x exclude=file|directory
Excludes the file or directory from the archive. When a
directory is specified, no files beneath that directory will
be stored in the archive. If the excluded directory is an
unmounted file system shown in the /etc/fstab file, a
WARNING ("Filesystem xxx is not mounted. It will be
ignored.") message will be displayed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2007 04:44 AM
тАО11-05-2007 04:44 AM
Re: make recovery with non-existing device names in fstab
Something that may work for you though is to create a "dummy" /etc/fstab that has only existing device files in it. As part of your Ignite backup script you could copy the "dummy" fstab (after making a backup of the "real" one), run the make_tape_recovery, then copy the "real" fstab back.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2007 06:00 AM
тАО11-05-2007 06:00 AM
Re: make recovery with non-existing device names in fstab
Sadly enough that option doesn't apply here, Tim. These filesystems wouldn't be included in the first place, the problem is that ignite seems to consider these as 'impossible filesystems' rather than 'unmounted filesystems' (the device files aren't there), and worth an error.
I'd be happy if it would just ignore these fstab entries with a warning as well.
The second fstab file is a logical option, which I was initially trying to avoid: the extra entries in fstab were put there to prevent the need for such a second file when failing over.
However, in this case, we wouldn't need to maintain two separate fstab files (error prone), but the ignite script can create one on the fly, just removing all failover filesystems temporarily. That I could probably live with.
Thanks for the input !
Cheers,
Wout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2007 09:56 AM
тАО11-05-2007 09:56 AM
Re: make recovery with non-existing device names in fstab
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2007 07:12 PM
тАО11-05-2007 07:12 PM
Re: make recovery with non-existing device names in fstab
Ideally, I do think that as long as you are not including a vg/directory in the archives related to those entries, the recovery process should flash a warning and should create an archive with devices included.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2007 08:01 PM
тАО11-05-2007 08:01 PM
Re: make recovery with non-existing device names in fstab
So we've established that this is 'expected' behaviour and there's no way around it from within the tools.
We will craft a workaround.
Thanks again,
Cheers,
Wout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2007 01:37 AM
тАО11-07-2007 01:37 AM
Re: make recovery with non-existing device names in fstab
Before the actual MNR:
---
cp /etc/fstab /etc/fstab.ign && sed '/^#IGNITE#/ !{
/noauto/s/^/#IGNITE#/
}' /etc/fstab.ign > /etc/fstab
---
After completion:
---
cp /etc/fstab /etc/fstab.ign && sed 's/^#IGNITE#//' /etc/fstab.ign > /etc/fstab
---
Cheers,
Wout