GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /sbin/pvcreate segfaults with -B flag after Sep 20...
Operating System - HP-UX
1849518
Members
7076
Online
104044
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
09-01-2010 01:13 AM
09-01-2010 01:13 AM
/sbin/pvcreate segfaults with -B flag after Sep 2010 OE update
Facts:
2 x rx4640 + HP-UX 11.31 with Sep'2010 update applied, newest DRD installed:
DynRootDisk B.1131.A.3.7.4 Dynamic Root Disk
Finally after a few weeks since OEM update to Sep 2010, decided to overwrite the clone disk. Source disks are internal 73GB SCSI ones, clone target is a 75GB SAN slice from EVA.
Result:
root /etc # drd clone -t /dev/disk/disk23 -x overwrite=true
======= 09/01/10 11:30:11 EETDSTDST BEGIN T Clone System Image
(user=root) (jobid=server)
* Reading Current System Information
* Selecting System Image To Clone
* Converting legacy Dsf "/dev/dsk/c2t1d0" to "/dev/disk/disk15"
* Converting legacy Dsf "/dev/dsk/c3t0d0" to "/dev/disk/disk16"
* Selecting Target Disk
WARNING: Could not find "/dev/disk/disk20" in inventory
* The disk "/dev/disk/disk23" contains data which will be overwritten.
* Selecting Volume Manager For New System Image
* Analyzing For System Image Cloning
* Creating New File Systems
ERROR: Clone file system creation fails.
- Creating the target file systems fails.
- Command "/opt/drd/lbin/drdconfigure" fails with the return code 255.
The errors written by the command are displayed below:
- Start of errors written by /opt/drd/lbin/drdconfigure:
- * Using LVM for disk
0/5/1/1.0x50001fe1500903b8.0x4004000000000000
(disk23_p2), group: drd00
* Using LVM for disk
0/2/1/1.0x50001fe1500903b9.0x4004000000000000
(disk23_p2), group: drd00
* Using LVM for disk
0/2/1/1.0x50001fe1500903bc.0x4004000000000000
(disk23_p2), group: drd00
* Using LVM for disk
0/5/1/1.0x50001fe1500903bd.0x4004000000000000
(disk23_p2), group: drd00
* Creating LVM physical volume "/dev/rdisk/disk23_p2"
(0/2/1/1.0x50001fe1500903bc.0x4004000000000000).
NOTE: run_cmd: Process: 29926 (/sbin/pvcreate): killed by signal:
11 (core
dumped).
ERROR: Command "/sbin/pvcreate -f -B /dev/rdisk/disk23_p2" failed.
- End of errors written by /opt/drd/lbin/drdconfigure
- Command "/opt/drd/lbin/drdconfigure" fails with the return code 255.
The entire output from the command is given below:
- Start of output from /opt/drd/lbin/drdconfigure:
- insf: Installing special files for pseudo driver devkrs
- End of output from /opt/drd/lbin/drdconfigure
* Creating New File Systems failed with 1 error.
* Unmounting New System Image Clone
* Cleaning up after clone errors.
======= 09/01/10 11:30:24 EETDSTDST END T Clone System Image failed with 1
error. (user=root) (jobid=server)
Verify from command line:
root /usr/sbin # /sbin/pvcreate -f -B /dev/rdisk/disk23_p2
zsh: segmentation fault (core dumped) /sbin/pvcreate -f -B /dev/rdisk/disk23_p2
So statically linked pvcreate (or sbin/lvmcmd) throws towel in. But the dymanically linked
/usr/sbin/lvm_wrapper is quite happy:
root /usr/sbin # /usr/sbin/pvcreate -f -B /dev/rdisk/disk23_p2
Physical volume "/dev/rdisk/disk23_p2" has been successfully created.
Okay, how about removing?
root /usr/sbin # /sbin/pvremove /dev/rdisk/disk23_p2
The physical volume associated with "/dev/rdisk/disk23_p2" has been removed.
OK, so good so far, without any flags?
root /usr/sbin # /sbin/pvcreate /dev/rdisk/disk23_p2
Physical volume "/dev/rdisk/disk23_p2" has been successfully created.
Ok, so /sbin/lvmcmd does work at least somehow. Bootable?
root /usr/sbin # /sbin/pvcreate -B /dev/rdisk/disk23_p2
zsh: segmentation fault (core dumped) /sbin/pvcreate -B /dev/rdisk/disk23_p2
Ahha, so it's -B flag. lvm_wrapper?
root /usr/sbin # /usr/sbin/pvcreate -B /dev/rdisk/disk23_p2
Physical volume "/dev/rdisk/disk23_p2" has been successfully created.
So that works.
Little tweaking:
root /sbin # mv pvcreate pvcreate.old
root /sbin # ln -s /usr/sbin/pvcreate pvcreate
After that DRD goes happily forward.
On the other hand, I've got another HP-UX 11.31 box with March 2010 OE update + newest DRD installed, and that combination works as advertised.
So, anyone else seen this?
2 x rx4640 + HP-UX 11.31 with Sep'2010 update applied, newest DRD installed:
DynRootDisk B.1131.A.3.7.4 Dynamic Root Disk
Finally after a few weeks since OEM update to Sep 2010, decided to overwrite the clone disk. Source disks are internal 73GB SCSI ones, clone target is a 75GB SAN slice from EVA.
Result:
root /etc # drd clone -t /dev/disk/disk23 -x overwrite=true
======= 09/01/10 11:30:11 EETDSTDST BEGIN T Clone System Image
(user=root) (jobid=server)
* Reading Current System Information
* Selecting System Image To Clone
* Converting legacy Dsf "/dev/dsk/c2t1d0" to "/dev/disk/disk15"
* Converting legacy Dsf "/dev/dsk/c3t0d0" to "/dev/disk/disk16"
* Selecting Target Disk
WARNING: Could not find "/dev/disk/disk20" in inventory
* The disk "/dev/disk/disk23" contains data which will be overwritten.
* Selecting Volume Manager For New System Image
* Analyzing For System Image Cloning
* Creating New File Systems
ERROR: Clone file system creation fails.
- Creating the target file systems fails.
- Command "/opt/drd/lbin/drdconfigure" fails with the return code 255.
The errors written by the command are displayed below:
- Start of errors written by /opt/drd/lbin/drdconfigure:
- * Using LVM for disk
0/5/1/1.0x50001fe1500903b8.0x4004000000000000
(disk23_p2), group: drd00
* Using LVM for disk
0/2/1/1.0x50001fe1500903b9.0x4004000000000000
(disk23_p2), group: drd00
* Using LVM for disk
0/2/1/1.0x50001fe1500903bc.0x4004000000000000
(disk23_p2), group: drd00
* Using LVM for disk
0/5/1/1.0x50001fe1500903bd.0x4004000000000000
(disk23_p2), group: drd00
* Creating LVM physical volume "/dev/rdisk/disk23_p2"
(0/2/1/1.0x50001fe1500903bc.0x4004000000000000).
NOTE: run_cmd: Process: 29926 (/sbin/pvcreate): killed by signal:
11 (core
dumped).
ERROR: Command "/sbin/pvcreate -f -B /dev/rdisk/disk23_p2" failed.
- End of errors written by /opt/drd/lbin/drdconfigure
- Command "/opt/drd/lbin/drdconfigure" fails with the return code 255.
The entire output from the command is given below:
- Start of output from /opt/drd/lbin/drdconfigure:
- insf: Installing special files for pseudo driver devkrs
- End of output from /opt/drd/lbin/drdconfigure
* Creating New File Systems failed with 1 error.
* Unmounting New System Image Clone
* Cleaning up after clone errors.
======= 09/01/10 11:30:24 EETDSTDST END T Clone System Image failed with 1
error. (user=root) (jobid=server)
Verify from command line:
root /usr/sbin # /sbin/pvcreate -f -B /dev/rdisk/disk23_p2
zsh: segmentation fault (core dumped) /sbin/pvcreate -f -B /dev/rdisk/disk23_p2
So statically linked pvcreate (or sbin/lvmcmd) throws towel in. But the dymanically linked
/usr/sbin/lvm_wrapper is quite happy:
root /usr/sbin # /usr/sbin/pvcreate -f -B /dev/rdisk/disk23_p2
Physical volume "/dev/rdisk/disk23_p2" has been successfully created.
Okay, how about removing?
root /usr/sbin # /sbin/pvremove /dev/rdisk/disk23_p2
The physical volume associated with "/dev/rdisk/disk23_p2" has been removed.
OK, so good so far, without any flags?
root /usr/sbin # /sbin/pvcreate /dev/rdisk/disk23_p2
Physical volume "/dev/rdisk/disk23_p2" has been successfully created.
Ok, so /sbin/lvmcmd does work at least somehow. Bootable?
root /usr/sbin # /sbin/pvcreate -B /dev/rdisk/disk23_p2
zsh: segmentation fault (core dumped) /sbin/pvcreate -B /dev/rdisk/disk23_p2
Ahha, so it's -B flag. lvm_wrapper?
root /usr/sbin # /usr/sbin/pvcreate -B /dev/rdisk/disk23_p2
Physical volume "/dev/rdisk/disk23_p2" has been successfully created.
So that works.
Little tweaking:
root /sbin # mv pvcreate pvcreate.old
root /sbin # ln -s /usr/sbin/pvcreate pvcreate
After that DRD goes happily forward.
On the other hand, I've got another HP-UX 11.31 box with March 2010 OE update + newest DRD installed, and that combination works as advertised.
So, anyone else seen this?
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP