- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to change a disk of raid1 from sas controller?
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
тАО07-19-2016 09:41 PM
тАО07-19-2016 09:41 PM
The disk config is as below:
sasmgr get_info -D /dev/sasd1 -q raid
Wed Jul 20 12:34:26 2016
---------- PHYSICAL DRIVES ----------
LUN dsf SAS Address Enclosure Bay Size(MB)
/dev/rdsk/c2t0d0 0x5000c5002c248f4d 1 5 140014
/dev/rdsk/c2t3d0 0x5000c5002c254f19 1 3 140014
---------- LOGICAL DRIVE 4 ----------
Raid Level : RAID 1
Volume sas address : 0xe33858be148bea3
Device Special File : /dev/rdsk/c2t1d0
Raid State : DEGRADED
Raid Status Flag : ENABLED
Raid Size : 139236
Rebuild Rate : 0.00 %
Rebuild Progress : 100.00 %
Participating Physical Drive(s) :
SAS Address Enc Bay Size(MB) Type State
0x5000c5002c2466c9 1 4 140014 PRIMARY ONLINE
0x0 0 0 140014 SECONDARY MISSING
the secondary disk of the logical drviver4 failed, I need use the physical disk /dev/rdsk/c2t3d0 in bay3 to replace it, but when I pull out the failed disk from bay3 and plug the new disk in, it was recognized as a physical disk, how can I use this disk to replace the failed disk of Raid1?
thanks !
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2016 06:13 AM
тАО07-20-2016 06:13 AM
Re: How to change a disk of raid1 from sas controller?
This will get a bit complicated, can you tell server model and OS version?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2016 08:27 PM
тАО07-20-2016 08:27 PM
Re: How to change a disk of raid1 from sas controller?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2016 04:42 AM
тАО07-21-2016 04:42 AM
Re: How to change a disk of raid1 from sas controller?
Please send the complete output of
# sasmgr get_info -D /dev/sasd0 -q raid
You are using the mirroring feature of tis LSI adapter. Normally it starts the rebuild automatically on a new replaced disk, but your disk was in use before in this system ... ?
Did you notice if the special device files remains the same when you swaped it in another slot?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2016 07:56 AM
тАО07-21-2016 07:56 AM
Re: How to change a disk of raid1 from sas controller?
sasmgr get_info -D /dev/sasd1 -q raid
Wed Jul 20 12:34:26 2016
---------- PHYSICAL DRIVES ----------
LUN dsf SAS Address Enclosure Bay Size(MB)
/dev/rdsk/c2t0d0 0x5000c5002c248f4d 1 5 140014
/dev/rdsk/c2t3d0 0x5000c5002c254f19 1 3 140014
---------- LOGICAL DRIVE 4 ----------
Raid Level : RAID 1
Volume sas address : 0xe33858be148bea3
Device Special File : /dev/rdsk/c2t1d0
Raid State : DEGRADED
Raid Status Flag : ENABLED
Raid Size : 139236
Rebuild Rate : 0.00 %
Rebuild Progress : 100.00 %
Participating Physical Drive(s) :
SAS Address Enc Bay Size(MB) Type State
0x5000c5002c2466c9 1 4 140014 PRIMARY ONLINE
0x0 0 0 140014 SECONDARY MISSING
The secondary disk of RAID1 pair should be the disk in bay 3.
I'm not sure if the disk in bay3 is used or not, how can I init it to a blank disk and can be use in the raid1 pair ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2016 08:06 AM
тАО07-21-2016 08:06 AM
Re: How to change a disk of raid1 from sas controller?
If the disk in slot 3 is not used, pull it and insert in slot 0.
The mirrored pair is slot 4 and slot 0.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2016 06:23 PM
тАО07-21-2016 06:23 PM
Re: How to change a disk of raid1 from sas controller?
The failed disk of logical drviver 4 is in bay3, and the bay number of Rx2660 is from 1 to 8, bay0 is not exist.
If I can fix this problem use drvcfg -s in EFI shell?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2016 11:48 PM - edited тАО07-21-2016 11:57 PM
тАО07-21-2016 11:48 PM - edited тАО07-21-2016 11:57 PM
Re: How to change a disk of raid1 from sas controller?
The command output is showing 2 disks without RAID and a RAID pair with a missing disk.
So how many disks are really installed in which slots? The bad disk is replaced already?
SLot 0 is shown if the disk is removed, so inserting a new disk in the original slot *should* replace the bad disk.
What result do you get from
# sasmgr get_info -D /dev/sasd1 -q lun=all -q lun_locate
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2016 12:17 AM
тАО07-22-2016 12:17 AM
SolutionIt's too long ago since I worked with these systems ...
However, if replacing the disk won't work, we will try to make the new disk a spare - this will work, I'm quite sure.
Example:
# sasmgr add -D /dev/sasd1 -q raid -q spare -q enc_bay=1:8
This will make disk in slot 8 a spare.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2016 07:34 AM
тАО07-22-2016 07:34 AM
Re: How to change a disk of raid1 from sas controller?
/dev/rdsk/c2t0d0 0/1/1/0.0.0.0.0 1 5 OFF
/dev/rdsk/c2t3d0 0/1/1/0.0.0.3.0 1 3 OFF
RAID VOL ID is 4 :
/dev/rdsk/c2t1d0 0/1/1/0.0.0.1.0
Physical disks in volume are :
1 4 OFF HP EG0146FAWHU HPDE
ERROR: More than one PHY in the iport: Invalid argument
The original disk status is disks in bay3 and bay4 make a raid1 pair, the disk in bay5 is the stand alone physical disk, several days ago, disk in bay3 failed, I change a disk and wait the sas controller to synchronise it , but when I check it by sasmgr command I found that the disk was recognized as a physical disk.