- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Idisk on 11.31 : strange sizes
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-24-2007 09:34 PM
тАО07-24-2007 09:34 PM
Idisk on 11.31 : strange sizes
I'm trying to mirror boot disk on my new RX2660 which has been factory installed by HP with HP-UX 11.31.
First, I noticed that the size of slice 1 is unusual (not rounded to MB) as per diskinfo :
SCSI describe of /dev/rdisk/disk12_p1:
vendor: HP
product id: DH072ABAA6
type: direct access
size: 511968 Kbytes
bytes per sector: 512
Slices 2 and 3 are OK :
size: 70765568 Kbytes
size: 409600 Kbytes
When I try idisk with the usual partition file :
3
EFI 500MB
HPUX 100%
HPSP 400MB
The last slice (3) is created on the mirror disk with a size of 408736 KB instead of 409600 KB :
SCSI describe of /dev/rdisk/disk10_p3:
vendor: HP
product id: DH072ABAA6
type: direct access
size: 408736 Kbytes
bytes per sector: 512
This prevents me from creating the mirror of HPSP on slice 3. The usual dd fails with an I/O error :
# dd if=/dev/rdisk/disk12_p3 of=/dev/rdisk/disk10_p3 bs=1024k
I/O error
400+0 records in
399+1 records out
My question is : should I use the same procedure for mirroring boot disk on 11.31 as with 11.23 ? Is it a known problem ?
Thanks for your help !
JM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2007 09:47 PM
тАО07-24-2007 09:47 PM
Re: Idisk on 11.31 : strange sizes
Did you compare the other partitions too?
With the "normal" installation process for HPSP this shouldn't be a problem. You may try to use efi_cp instead.
BTW, I would think about to use the integrated RAID functionality to mirror the boot drive.
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-24-2007 09:48 PM
тАО07-24-2007 09:48 PM
Re: Idisk on 11.31 : strange sizes
should I use the same procedure for mirroring boot disk on 11.31 as with 11.23 ?
Yes, I did it many times.
But you should use diskxx and disk_py instead of cxtydz!
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-24-2007 10:18 PM
тАО07-24-2007 10:18 PM
Re: Idisk on 11.31 : strange sizes
I forgot to mention that this system has been ignited with a June 2007 11.31 version of HP-UX.
Sizes are as follows on the primary disk :
size: 511968 Kbytes
size: 70765568 Kbytes
size: 409600 Kbytes
And on the secondary :
size: 511968 Kbytes
size: 70766592 Kbytes
size: 408736 Kbytes
I first partitioned the disk using /dev/rdsk/c2t1d0 but, as per your answer, retried using /dev/rdisk/disk10 : the result is the same.
It seems I don't have any RAID controller on this RX2660 (no /dev/ciss... special file ans ioscan doesn't list RAID HBA).
I'll try efi_cp.
Thanks
JM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2007 10:21 PM
тАО07-24-2007 10:21 PM
Re: Idisk on 11.31 : strange sizes
RAID:
Look for "sasdx" devices - this is the integrated SAS RAID controller.
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-24-2007 10:23 PM
тАО07-24-2007 10:23 PM
Re: Idisk on 11.31 : strange sizes
escsi_ctlr 0 0/4/1/0 sasd CLAIMED INTERFACE HP PCI
/PCI-X SAS MPT Adapter
/dev/sasd0
ext_bus 1 0/4/1/0.0.0 sasd_vbus CLAIMED INTERFACE SAS Dev
ice Interface
...
target 19 0/4/1/0.0.0.1 tgt CLAIMED DEVICE
disk 2 0/4/1/0.0.0.1.0 sdisk CLAIMED DEVICE
HP IR Volume
/dev/dsk/c1t1d0 /dev/rdsk/c1t1d0
/dev/dsk/c1t1d0s1 /dev/rdsk/c1t1d0s1
/dev/dsk/c1t1d0s2 /dev/rdsk/c1t1d0s2
/dev/dsk/c1t1d0s3 /dev/rdsk/c1t1d0s3
This is an integrated RAID.
You will notice the "HP IR Volume".
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-24-2007 11:08 PM
тАО07-24-2007 11:08 PM
Re: Idisk on 11.31 : strange sizes
some more informations about sas controleur, not about your specific problem, sorry :-(.
1) At EFI level you can access a configuration menu of sas adapter with "drvcfg -s" and manage IR Volumes
2) At OS shell you can use 3 commands sasdiag, saslist and sasmgr (/opt/sas/bin).
For example you can issue the following command :
root@cduxliv1:/ >saslist get_info ctrl sasd
H/W Path: 0/4/1/0 HBA DSF: /dev/sasd0
then ...
root@cduxliv1:/ >sasmgr get_info -D /dev/sasd0 -q raid
Wed Jul 25 12:51:03 2007
---------- LOGICAL DRIVE 5 ----------
Raid Level : RAID 1
Volume sas address : 0x8e064cf787fc06f
Device Special File : /dev/rdsk/c1t0d0
Raid State : OPTIMAL
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
0x5000c500040728a5 1 8 140014 SECONDARY ONLINE
0x5000c50004074d45 1 7 140014 PRIMARY ONLINE
>
With sasmgr you can create, delete, manage LUNs.
Hope this will help
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2007 11:56 PM
тАО07-24-2007 11:56 PM
Re: Idisk on 11.31 : strange sizes
If I try to convert my existing vg00 from one single disk to one RAID1 entity, will this be a destructive process ?
Do I have to create a golden image of my server before ?
Thanks
JM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2007 12:30 AM
тАО07-25-2007 12:30 AM
Re: Idisk on 11.31 : strange sizes
Well, if you build the IR volume with "drvcfg -s" the interface will probably ask you if you want to preserve data. I have tried it once ... and i have lost all my data. I am not sure of what i did exactly, maybe i didn't understood the question (you can notice english is not my mother tong ;-), but the result was there. I didn't spent time to understand what has happened and i came immediatly in an ignite recovery process.
So, you should not rely on a non destructive migration process from single disk to RAID volume, unless someone in this forum can help you in this way.
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2007 08:45 PM
тАО07-25-2007 08:45 PM
Re: Idisk on 11.31 : strange sizes
The partition file then looks like this :
3
EFI 500MB
HPUX 100%
HPSP 401MB
Luckily, the HPUX partition remains equal on both disks :
Primary disk :
s1: 511968 Kbytes
s2: 70765568 Kbytes
s3: 409600 Kbytes
Secondary disk :
s1: 511968 Kbytes
s2: 70765568 Kbytes
s3: 409760 Kbytes
The HPSP is a bit more than 400MB, which is fine for accepting HPSP from the primary disk, copied by dd.
It works... but it's only a workaround : I'm waiting for an explanation from HP.
HTH
JM