- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Filesystem hang after removing 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
тАО12-04-2007 03:11 AM
тАО12-04-2007 03:11 AM
Filesystem hang after removing disk
I have HP-UX/IA64 11.23 box. There is SCSI adapter A7143A and disks in MSA30. I tried to simulate disk failure. I have Oracle database and on one disk redologs and on second disk mirror redologs. When I remove second disk from MSA30, filesystem (with mirror redologs)hangs. Oracle database hangs too. It is not desirable because a have mirrored redo logs but database hangs until ANY (original or new) disk is inserted. If real disk failure occur then it will be the same scenario? Does filesystem hangs too?
I haven't had disk failure yet and I don't know if database will hang?
Thanks.
Marian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2007 03:20 AM
тАО12-04-2007 03:20 AM
Re: Filesystem hang after removing disk
What do you mean by mirror?
Do you mean you are using disk mirroring like Mirrordisk/UX?
Or do you mean you're creating multiple log group members for Oracle redo logs?
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2007 04:44 AM
тАО12-04-2007 04:44 AM
Re: Filesystem hang after removing disk
a msa30 more tetails: http://h18004.www1.hp.com/products/quickspecs/11738_na/11738_na.html
if you use a disk controller or RAID software (e.g. HP StorageWorks) for the msa30
if you pleased the msa30 directly to you system and atake out one disk the mirror wil make sure you can keep up working, after the secend disk it is verry depening on whitch disk...
if you have a Raid control it and you pull out the secend disk during the reconfiguration I do not know what will happen but I bed a msa storage box will not like this,
please post how you use the msa 30 and how you have configered it an whitch disks are pull out than a good advice can be given
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2007 04:57 AM
тАО12-04-2007 04:57 AM
Re: Filesystem hang after removing disk
Clearly what you thought was your mirror layout was not what it was in fact.
lvdisplay -v on the logical volumes involved should have been consulted before the test.
To provide you a good answer, it would be necessary to know what disks are in what logical volumes and what the layout is.
If you have five disks in a raid 5 layout you should be able to survie the loss of a single disk.
However if you only have the minium of 3 disks in a raid 5 layout (we have a MSA-30 here) then you may not survie the loss of a single disk.
Post complete lvdisplay -v layouts on all involved disks and someone here may be able to predict the performance in a disk loss scenario. I suspect right now your raid layout provides no protection at all.
SEP
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
тАО12-04-2007 04:58 AM
тАО12-04-2007 04:58 AM
Re: Filesystem hang after removing disk
Abstract
The results when performing an immediate path switch using 'pvchange -s' while autoswitchback is enabled, can seem
unpredictable. When manually switching paths, autoswitchback should be disabled.
Background
LVM provides multipathing support for multiported devices. LVM's multipath support uses only one active path where the other path(s) are on standby. When the current path becomes unavailable, LVM will switch to the first available standby path. The paths are selected in the order they were configured.
The pvchange command provides several options for managing LVM behavior with paths:
"The -s (lower case s) option (immediate switch) requests that the specified path be used for all future I/O.
"The -S (upper case s) option (autoswitchback) when set (default value), tells LVM to automatically switch to the
best available path. When autoswitchback is disabled, LVM will still switch paths when the current path becomes unavailable, but it will not switch back to a higher priority
path that returns. The pvdisplay command will show the current autoswitchback setting.
Make note that the best available path is determined based on the order the paths were configured into the volume group (using vgcreate, vgextend, vgimport or vgscan). The order can be determined by using vgdisplay or pvdisplay and changed using vgreduce and vgextend.
When performing an immediate link switch (using pvchange -s), LVM's behavior will vary depending upon the autoswitchback (-S)
setting.
"When autoswitchback (-S) is disabled, LVM will switch paths as directed by pvchange -s (immediate switch) and continue to use this path until it becomes unavailable or another manual switch is performed.
"When autoswitchback (-S) is enabled, LVM will switch to the selected path as directed by pvchange -s. However to comply with the autoswitchback setting, LVM will switch back to the best available path.
Recent Improvements
With patch PHKL_34518(11.11)/ PHKL_34094(11.23), LVM improved its monitoring of path health. LVM now proactively monitors the health of all configured paths. If autoswitchback is enabled, LVM is far more responsive in returning to a better path when it becomes available.
With patches PHCO_35955 and PHKL_35970(11.11) / PHCO_35524 and PHKL_35965(11.23), proactive path monitoring can be configured
with pvchange -p. LVM's proactive polling is on by default and can be displayed using pvdisplay.
Conclusion
If you want to manually select a path using pvchange -s, autoswitchback should be disabled first.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2007 05:25 AM
тАО12-04-2007 05:25 AM
Re: Filesystem hang after removing disk
- rx2600 box, A7173A SCSI controller, MSA30DB, two 73GB disks in MSA30
- no Mirrordisk/UX, no RAID controller
- one physical disk - volume group vg03, LV redoA, FS /oracle/redoA
- second physical disk - volume group vg04, LV redoB, FS /oracle/redoB
- oracle - 2 redo log groups, each group has two members, together 4 redologs
- when I pull out second disk, oracle hangs, command ls /oracle/redoB/* hangs too
- system, probable, is waiting for disk (how long will be wait - is there any timeout)
- but when I inserted new disk (instead of that one which I pulled out) to MSA, HP-UX system return I/O error and oracle go on (some ora- errors are in alert.log - this is expected)
- my question is: does system hang when real failure occur? Or system return I/O error and oracle can run on?
Marian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2007 08:02 AM
тАО12-04-2007 08:02 AM
Re: Filesystem hang after removing disk
- second physical disk - volume group vg04, LV redoB, FS /oracle/redoB
as per the above infomration(one disk each on each LV) there is no mirroring or reduntancy for the LV.So it is going to hang.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2007 12:03 AM
тАО12-05-2007 12:03 AM
Re: Filesystem hang after removing disk
I set up IO_timeout parameter for LV to 30 seconds.
After I pulled out disk from MSA30 after cca 1-2 min. filesystem was disabled and oracle runnig - end user see nothing about disk problem - (one redolog in each redo log group is active and second member is invalid).
This behaviour is that what I wanted.
Marian