- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Adding Secondary Harddrive in HPUX that alread...
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
тАО05-29-2007 01:56 AM
тАО05-29-2007 01:56 AM
Thanks
Curt
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2007 02:03 AM
тАО05-29-2007 02:03 AM
Re: Adding Secondary Harddrive in HPUX that already has data
# mknod /dev/vgXX/group c 64 0xYY0000
# vgimport vgXX /dev/dsk/cXtYdZ
If you need more of an explanation please let me know. But the disk in the vgimport command should be the device file for the secondary disk. It should read the lvm info from the disk and create your lvol files. Then you can mount them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2007 02:03 AM
тАО05-29-2007 02:03 AM
Re: Adding Secondary Harddrive in HPUX that already has data
You don't mount a disk, you mount a logical volume as a filesystem.
You may be able to vgimport the disk into a volume group if the second disk was in its own volume group.
More likely you will need to use dd to read all the data off that disk into a tape or NFS share.
Then you'll at least have the data.
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
тАО05-29-2007 02:06 AM
тАО05-29-2007 02:06 AM
Re: Adding Secondary Harddrive in HPUX that already has data
mkdir /dev/vg01
mknod /dev/vg01/group c 64 0x010000
vgimport -s /dev/vg01
- or -
vgimport /dev/vg01 /dev/dsk/c0t1d0
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2007 03:11 AM
тАО05-29-2007 03:11 AM
Re: Adding Secondary Harddrive in HPUX that already has data
mkdir /dev/vg01
mknod /dev/vg01/group c 64 0x010000
vgimport /dev/vg01 /dev/dsk/c0t1d0
I get this back
vgimport: Physcal volume "/dev/dsk/c0t1d0" is not a block special file
any ideas??
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2007 03:17 AM
тАО05-29-2007 03:17 AM
Solution# ioscan -funC disk
and double check. You may need to run
# insf -e
to create the device file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2007 03:30 AM
тАО05-29-2007 03:30 AM
Re: Adding Secondary Harddrive in HPUX that already has data
Curt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2007 03:35 AM
тАО05-29-2007 03:35 AM
Re: Adding Secondary Harddrive in HPUX that already has data
# mount /dev/vg01/lvolX /some_dir
Add lines to /etc/fstab to make them persistent . Unless you want to mount them again after a reboot or power failure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2007 05:11 AM
тАО05-29-2007 05:11 AM
Re: Adding Secondary Harddrive in HPUX that already has data
Can someone tell me how to use the dd command to copy everything from this drive to a nfs mount
thanks