- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Extend vg00
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
Forums
Discussions
Discussions
Discussions
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
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-21-2003 08:06 AM
07-21-2003 08:06 AM
Extend vg00
Question #1:
I have a D-class HP9000 server with the OS 11.0, My root disk is located on c0t5d0, now it's full, I need to add a disk c0t8d0 to my to the vg00 so I could increase my root directory.
I used this command but unsuccessed, it did not let me to add a disk to the existing vg00.
# pvcreate -f /dev/rdsk/c0t8d0
# vgexted vg00 /dev/dsk/c0t8d0
Question #2:
When I tried to reload the HPUX 11.0 or 11i from the CD. It booted up and did not stop at the point option menu, like "Install HPUX" instead it passed that menu and went direct to the recover menu.
Thanks so much in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2003 08:09 AM
07-21-2003 08:09 AM
Re: Extend vg00
was the # vgexted vg00 /dev/dsk/c0t8d0 just a typo in this question, or did you actually make a typo when you issued the command?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2003 08:10 AM
07-21-2003 08:10 AM
Re: Extend vg00
#2) You need to interrupt the boot process when the message appears telling you that you have 10 seconds to do so.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2003 08:13 AM
07-21-2003 08:13 AM
Re: Extend vg00
2) The behavior here is not correct.
What kind of console are you using? For 11i the terminal should be set to EM100 for a correct installation.
As far as increasing space on root fs , what you have done will not help.
You need to extend the volume group and then get an Ignite make_tape_recovery backup.
Then you can boot off tape and reconfigure the system with a larger root fs.
The root fs must be continguous.
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
07-21-2003 08:57 AM
07-21-2003 08:57 AM
Re: Extend vg00
I used this command here:
# pvcreate /dev/rdsk/c0t8d0 It took about 10 seconds, then came back to the # sign with no error)
# vgextend vg00 /dev/rdsk This command gave me the error here
" vgextend: couldn't open physical device volume "/dev/dsk/c0t8d0": i/o error.
Like I said earlier, I am a new HPUX. I trying to learn it step by step. I was so impress with all of you responsed so quick. Thanks so much.
Tom B.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2003 08:58 AM
07-21-2003 08:58 AM
Re: Extend vg00
Are you sure of the device /dev/dsk/c0t8do?
What do you get from the "ioscan -kfnCdisk" command? Post the results here, if you would, please.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2003 08:59 AM
07-21-2003 08:59 AM
Re: Extend vg00
vgextend vg00 /dev/dsk/c0t8d0
Anyway, would someone please give me the procedure how I want to extend my root fs ?
Thanks
Tom B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2003 09:00 AM
07-21-2003 09:00 AM
Re: Extend vg00
ioscan -fnC disk
Does the device show up as claimed.
If not, pick a different disk.
ll /dev/dsk/c0t8d0
ll /dev/rdsk/c0t8d0
are they there?
Since you are new, if we help, please assign points. We like helping.
Its fun.
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
07-21-2003 09:09 AM
07-21-2003 09:09 AM
Re: Extend vg00
Here is the ouput from ll
# ll /dev/dsk/c0t8d0
brw-r----- 1 bin system 31 0X008000 (then the date, /dev/dsk/c0t8d0)
I also have another 8 disk from A3312A, I already used it for vg01, how do I remove those disks from vg01 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2003 09:16 AM
07-21-2003 09:16 AM
Re: Extend vg00
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2003 09:19 AM
07-21-2003 09:19 AM
Re: Extend vg00
Could you post the results from "ioscan -kfnCdisk", please?
Thanks,
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2003 09:24 AM
07-21-2003 09:24 AM
Re: Extend vg00
strings /etc/lvmtab
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
07-21-2003 09:48 AM
07-21-2003 09:48 AM
Re: Extend vg00
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 3 8/12.0.0 sdisk CLAIMED DEVICE HP C3586A
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 4 8/12.0.1 sdisk CLAIMED DEVICE HP C3586A
/dev/dsk/c0t0d1 /dev/rdsk/c0t0d1
disk 5 8/12.0.2 sdisk CLAIMED DEVICE HP C3586A
/dev/dsk/c0t0d2 /dev/rdsk/c0t0d2
disk 6 8/12.2.0 sdisk CLAIMED DEVICE HP C3586A
/dev/dsk/c0t2d0 /dev/rdsk/c0t2d0
disk 7 8/12.2.1 sdisk CLAIMED DEVICE HP C3586A
/dev/dsk/c0t2d1 /dev/rdsk/c0t2d1
disk 8 8/12.2.2 sdisk CLAIMED DEVICE HP C3586A
/dev/dsk/c0t2d2 /dev/rdsk/c0t2d2
disk 0 8/12.5.0 sdisk CLAIMED DEVICE SEAGATE ST34573WC
/dev/dsk/c0t5d0 /dev/rdsk/c0t5d0
disk 1 8/12.8.0 sdisk CLAIMED DEVICE SEAGATE ST34572WC
/dev/dsk/c0t8d0 /dev/rdsk/c0t8d0
disk 2 8/16/5.2.0 sdisk CLAIMED DEVICE NEC CD-ROM DRIVE
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2003 09:52 AM
07-21-2003 09:52 AM
Re: Extend vg00
"# cat /etc/lvmtab
??/dev/vg01wEa:>??t??/dev/dsk/c0t0d0/dev/dsk/c0t0d2/dev/dsk/c0t2d0/dev/dsk/c0t2d2/dev/vg00wEa:
I will be back in the next 3 hours, thanks so much for helping.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2003 09:53 AM
07-21-2003 09:53 AM
Re: Extend vg00
You can't "cat" /etc/lvmtab. You need to use the "strings" command: "strings /etc/lvmtab".
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2003 09:58 AM
07-21-2003 09:58 AM
Re: Extend vg00
In addition to "strings /etc/lvmtab", would you also post the output of "pvdisplay /dev/dsk/c0t8d0".
Thanks,
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2003 01:47 PM
07-21-2003 01:47 PM
Re: Extend vg00
# strings /etc/lvmtab
/dev/vg01
wEa:>
/dev/dsk/c0t0d0
/dev/dsk/c0t0d2
/dev/dsk/c0t2d0
/dev/dsk/c0t2d2
/dev/vg00
wEa:<
/dev/dsk/c0t5d0
# pvdisplay /dev/dsk/c0t8d0
pvdisplay: Couldn't find the volume group to which
physical volume "/dev/dsk/c0t8d0" belongs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2003 12:47 AM
07-22-2003 12:47 AM
Re: Extend vg00
Problem
1. Installation
You have problem with terminal emulation.
Check your client config and use VT100 or simply use other program like minicom or hyper term.
2. Root extend
First you have to know that root must be small.
root is place where you put all other mount points and contains all admin staff. 100-200 MB is nice. Do not extend root becauce you will have problem with make_recovery.
Use other file system for user data or big logs.
But if you want you can do it.
Use make_recovery and use tape for recovery.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2003 02:26 AM
07-22-2003 02:26 AM
Re: Extend vg00
At this point, I would re-try your original vgextend command: "vgextend vg00 /dev/dsk/c0t8d0 "
If it still fails, there may be something wrong with the disk. Try running dd against it: "dd if=/dev/rdsk/c0t8d0 of=/dev/null bs=1024k". This will effectively read the entire disk so that we can scan for errors. If you get any I/O errors from this command, then we've got a bad disk.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2003 07:28 AM
07-22-2003 07:28 AM
Re: Extend vg00
# dd if=/dev/rdsk/c0t8d0 of=/dev/null bs=1024k
dd read error: Invalid argument
0+0 records in
0+0 records out
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2003 07:34 AM
07-22-2003 07:34 AM
Re: Extend vg00
vg00/lvol3 is probably /, or the root file system. That's right that you can't extend that logical volume online. As a matter of fact, since it has to be contiguous space, it gets quite complicated.
But - that's not your problem. You're just trying to extend the Volume Group, not a particular Logical Volume (yet). From the results of your dd test, I would tend to agree that the disk is bad, though I would have expected an I/O error rather than the "invalid argument". In any case, I think you need to contact HP about getting your disk replaced.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2003 07:38 AM
07-22-2003 07:38 AM
Re: Extend vg00
I just noticed, did you actually have a space between the "bs=" and the "1024K"? If so, remove it and try again.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2003 07:55 AM
07-22-2003 07:55 AM
Re: Extend vg00
So it's a bad disk ?
# dd if=/dev/rdsk/c0t8d0 of=/dev/null bs=1024k
dd read error: Invalid argument
0+0 records in
0+0 records out
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2003 07:57 AM
07-22-2003 07:57 AM
Re: Extend vg00
The dd test is usually quite definitive. I would say yes, it's bad.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2003 01:49 PM
07-22-2003 01:49 PM
Re: Extend vg00
Tom B