- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: harddisk replacement
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
11-21-2002 01:38 AM
11-21-2002 01:38 AM
I have a HP-UX11.00 system with 2 k-class servers sharing the same disk array - I use also disk mirroring. I have rebooted one server from the Ignite tape then I have tried to rebuild the mirroring for the root disk. I have received an error "harddisk stale" after lvreduce command. Is that mean that I have to replace the disk? How can I check the integrity of a harddisk?
If the disk is bad and I replace it, do I have to rebuild mirroring also for the other server (the root disk is shared)?
Thank you in advance,
Ionu
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 01:56 AM
11-21-2002 01:56 AM
Re: harddisk replacement
you can use dd to check the integrity of the disk:
diskinfo -v /dev/rdsk/c?t?d?
output ok?
dd if=/dev/rdsk/c?t?d? of=/dev/null bs=4096k
If this command fails replace the disk, and reenable mirroring.
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 02:24 AM
11-21-2002 02:24 AM
Re: harddisk replacement
I understood that I have to rebuild mirroring, but also for the other server?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 02:40 AM
11-21-2002 02:40 AM
Re: harddisk replacement
Im am not sure. If you enable mirroring with MirrorUx on all the vg00 lvols ( lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c?t?d?)
Both disks shoud be idenical and if both the disks are accessable by both servers you are in business. But i do not know how to update the lvminfo on the other servers kernel.
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 02:43 AM
11-21-2002 02:43 AM
Re: harddisk replacement
If this dd command will complete successfully (w/o errors like 'I/O error') then disk surface is physically accessible and you need to troubleshoot LVM structures
Eugeny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 02:43 AM
11-21-2002 02:43 AM
Re: harddisk replacement
consists of bad segment. Use 'dd' test on the disk hard disk:
# dd if=/dev/rdsk/cXtYdZ of=/dev/null bs=64k
Take note of the number returns, multiply it with 64. The product of the
multiplication should be about the size of hard disk which is reported in
'diskinfo':
# diskinfo /dev/rdsk/cXtYdZ
Where are the VG00 disks? In the array?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 03:47 AM
11-21-2002 03:47 AM
Re: harddisk replacement
I gave
#dd if=/dev/rdsk/c3t6d0 of=/dev/null bs=64k and I don't receive the prompt back!
So, I want to be sure:
- Shutdown both servers
- Replace disk
- Startup the server and - rebuild mirroring (for both?)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 03:53 AM
11-21-2002 03:53 AM
Re: harddisk replacement
138930 + 1 records in
138930 + 1 records out
Does it mean that my harddisk is OK?
Mike, say something to give you the points for the command :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 03:53 AM
11-21-2002 03:53 AM
Re: harddisk replacement
With a small block size like 64K, dd will take a VERY long time to scan any decently sized disk - several hours at least. Try again with a block size of 1024k (or more).
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 04:31 AM
11-21-2002 04:31 AM
Re: harddisk replacement
with lvdisplay -v /dev/vg00/lvol3 (root filesystem)
on the first server the PE are in 'current' state but on the second (the one with the problem) the same command show me the PE's in 'stale' state..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 05:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 05:15 AM
11-21-2002 05:15 AM
Re: harddisk replacement
All the disks are the same size - 8891556 kbytes - from diskinfo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 05:34 AM
11-21-2002 05:34 AM
Re: harddisk replacement
How is this being shared between the two systems?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 05:43 AM
11-21-2002 05:43 AM
Re: harddisk replacement
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&admit=-682735245+1037886324162+28353475&docId=200000062909815
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 05:55 AM
11-21-2002 05:55 AM
Re: harddisk replacement
ioscan -funC disk
vgdisplay -v
strings /etc/lvmtab
To clarify an earlier reply, the time difference between running dd with a 64k against a 1024k blocksize (at least in HP-UX 11.00) appears from experiment to be negligible. Provided the blocksize is 8k or greater, a SEAGATE ST39173WC provides just under 15Mb/sec, SEAGATE ST39175LC's are better at about 19Mb/sec.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 06:07 AM
11-21-2002 06:07 AM
Re: harddisk replacement
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 06:22 AM
11-21-2002 06:22 AM
Re: harddisk replacement
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 06:33 AM
11-21-2002 06:33 AM
Re: harddisk replacement
OK, so your internal root disk is mirrored to /dev/dsk/c3t6d0 which is on a FW HPPB card. If this disk is in a Jamaica disk enclosure it should be terminated and not on a shared bus.
Why did you boot from your ignite tape in the 1st place?
Did either /dev/dsk/c2t6d0 or /dev/dsk/c3t6d0 fail?
Are the extends still stale ?
Have you tried lvsync or vgsnyc?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 06:38 AM
11-21-2002 06:38 AM
Re: harddisk replacement
The story: On my servers is running a third vendor application. If something is wrong to the operating system or the application I have to call them and they try to solve the problem. If they cannot do it , they open a Helpdesk request to HP and HP call me back - sounds stupid but this is the contract. Rebuilding the mirroring was part of a faulty installation they have performed last week - it is not a live system, so it was no emergency. After redoing the mirroring the guy from the thrd party helpdesk realized that he forgot to make the mirror disk bootable, so he performed mkboot at the end, I have tried to reboot from ALT path- the system failed so the guy tried to undo mirroring and told me that he received after lvreduce this 'stale' state of the mirror, so they called HP and I received this morning a brand-new disk. But I don't want to use it if my old one is OK. That's all.
thanks Pete, it wasn't a dumb question at all!
Thank yo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 06:41 AM
11-21-2002 06:41 AM
Re: harddisk replacement
I have rebooted from Ignite because swinstall has failed and I had as result a corrupted kernel, that was the only reason.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 06:41 AM
11-21-2002 06:41 AM
Re: harddisk replacement
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 06:44 AM
11-21-2002 06:44 AM
Re: harddisk replacement
Could you also post the output from lvdisplay -v /dev/vg00/lvol1 so that we can determine which disk is stale, and the output from setboot.
Regards,
John