- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Wrong Physical Devices on server... How to fix?
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
тАО08-13-2003 05:18 AM
тАО08-13-2003 05:18 AM
We have 2 rp2470's in a cabinet, each with 2 - 18 G drives & 12 - external 72G hard drives. When I first set these systems up, I had a portion of the hard drives allocated to 1 rp2470 cpu (primary)& then had the remaining hard drives allocated to the other rp2470 (secondary). Everything was great & then I went on vacation... What I'm being told is the secondary rp2470 was all of sudden thinking it was the primary rp2470. No one knows why, it just started happening.. yeah, right.. My replacement reset the hostname & ip address to the correct hostname & ip address after he was notified aprox 4 days after this must have started happening. Everyone thought it was fixed & never bothered letting me know, until now.. 1 1/2 month later. It looks as though someone copied over the /etc directory FROM the primary server to the secondary server. Everything on the secondary server is now an exact duplicate of the primary. I can run a bdf & the results are exactly the same as the primary server, if I do a ls -l the results are the original layout of filesystems. Can I just comment out the incorrect mnttab file entries from the primary server & re-allocate the correct physical disks to the secondary server? These are new servers & aren't in production yet, but a ton of work has been done on the primary server, with the secondary just starting to be worked on now, hence the problem was discovered. By the way, no one & I mean no one NOW has root pwd on these systems, but myself! I have tried setmnt & works up until I reboot & then everything gets put back to the wrong way (primary server duplicate).
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2003 06:52 AM
тАО08-13-2003 06:52 AM
SolutionThe solution would be recreating /etc/lvmtab from scratch on the secondary server. This can be done with vgscan after renaming the original /etc/lvmtab in two steps:
1) issue "vgscan -pav". This will tell you the exact disks the secondary server is able to see. If you think that incorrect disks are detected then you'll have to vgimport the VG's manually, specifying each disk for each VG.
2) if you're really sure that the result of "vgscan -pav" is actually correct, then issue a "vgscan -av". This will recreate /etc/lvmtab, hopefully with the correct disks.
3) for file system entries, the file you must change is /etc/fstab, not /etc/mnttab. /etc/mnttab only stores temporary information about the server's file systems. This can also be accomplished with SAM.
HTH
Paulo Fessel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2003 11:25 AM
тАО08-14-2003 11:25 AM
Re: Wrong Physical Devices on server... How to fix?
I have a preference for doing a lvremove/vgremove from the secondary server and ignoring the problem as you can make it "GO AWAY" really easily.
Then you can either remove the /dev/vgXX of the offending filesystem, and remake the directory,/dev/vgXX and the node with mknod, and/or pvcreate and then the vgcreate and then lvcreate the appropriate volumes and run a newfs on the drive...
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2003 11:36 AM
тАО08-14-2003 11:36 AM
Re: Wrong Physical Devices on server... How to fix?
HP IGNITE will backup/recover VGXX for you and you can change the size of the vg00 volumes and allow the rest to be recovered. If you have an IGNITE TAPE then this is a short answer. Stop reading here.
Otherwise download HP IGNITE for your 11.X server and install it (using swinstall utility)
Hopefully you have an attatched tape drive.
if you do have a working tape drive (DDS'2/3/4') then run "make_tape_recovery -Av"
Go out to dinner as this process will run for quite a while.
This will create the archive for you of the vg00 and all VGs you include.
I do this before any significant system changes to any of my servers. (almost any change can be significant.)
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-15-2003 11:20 AM
тАО08-15-2003 11:20 AM
Re: Wrong Physical Devices on server... How to fix?
Even though I now know that it would have been much easier by following Tim's suggestions...
No ignite, since this was still a development server & I knew that I would be applying more patches before it became production.
Ignite is going to be done next week. Lesson learned.
Thanks again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-15-2003 11:23 AM
тАО08-15-2003 11:23 AM
Re: Wrong Physical Devices on server... How to fix?
[]'s
Paulo Fessel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-15-2003 11:36 AM
тАО08-15-2003 11:36 AM
Re: Wrong Physical Devices on server... How to fix?
:o)