1752754 Members
4986 Online
108789 Solutions
New Discussion юеВ

Extend vg00

 
Pete Randall
Outstanding Contributor

Re: Extend vg00

Tom,

Could you post the results from "ioscan -kfnCdisk", please?

Thanks,


Pete


Pete
Steven E. Protter
Exalted Contributor

Re: Extend vg00

Now that things are beginning to get muddled up, I'd like to see additional output.

strings /etc/lvmtab

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Tom_183
Occasional Advisor

Re: Extend vg00

# ioscan -kfnCdisk
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
Tom_183
Occasional Advisor

Re: Extend vg00

here is the output from lvmtab

"# 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.

Pete Randall
Outstanding Contributor

Re: Extend vg00

Tom,

You can't "cat" /etc/lvmtab. You need to use the "strings" command: "strings /etc/lvmtab".


Pete


Pete
Pete Randall
Outstanding Contributor

Re: Extend vg00

Tom,

In addition to "strings /etc/lvmtab", would you also post the output of "pvdisplay /dev/dsk/c0t8d0".

Thanks,


Pete


Pete
Tom_183
Occasional Advisor

Re: Extend vg00

Here is the ouput for your requested:
# 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.
Ivajlo Yanakiev
Respected Contributor

Re: Extend vg00

HI

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.



Pete Randall
Outstanding Contributor

Re: Extend vg00

Tom,

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
Tom_183
Occasional Advisor

Re: Extend vg00

I think I might have a bad disk. I read somewhere in the HP documment, saying about extend the vg00 which is located on lvol3 will not work on a live system. Would it be correct ?

# dd if=/dev/rdsk/c0t8d0 of=/dev/null bs=1024k
dd read error: Invalid argument
0+0 records in
0+0 records out