Operating System - HP-UX
1753774 Members
7205 Online
108799 Solutions
New Discussion юеВ

Re: Added a new disk, How to see it ?

 
Basheer_2
Trusted Contributor

Re: Added a new disk, How to see it ?

use these steps
1) ls -lsrt /dev/dsk
2) ls -lsrt /dev/rdsk

1) and 2) will give you the existing ones

now after adding your new disk
do

1) ioscan
2) insf -e -C disk

now do
1) ls -lsrt /dev/dsk
2) ls -ls rt /dev/rdsk

look at the date-timestamp for the last 2 entries. it should show today and current time.

do pvcreate -f on the new disk
Sajjad Sahir
Honored Contributor

Re: Added a new disk, How to see it ?



once disk is presented
u have to create device file for it

insf -C disk

then use ioscan -funC disk

unclaimed one

compare with string /etc/lvmtab file

then create physical volume by using pvcreate command


thanks and regards

Sajjad Sahir
amreek bansal
Frequent Advisor

Re: Added a new disk, How to see it ?


Thanks for all the replies, i have made progress. I have got the disk and initailised it. using

pvcreate -f /dev/rdsk/c1t2d0

Then I want to create a new volume group, so i did this
cd /dev
mkdir vgsw (vgsw being the new volume group name)
cd vgsw
mknod group c 64 0x030000

So this all worked nicely, but the next step to create the volume group is where i get this error, please help.

vgcreate /dev/vgsw /dev/dsk/c1t2d0
Increased the number of physical extents per physical volume to 35003.
vgcreate: Volume Group "/dev/vgsw" could not be created:
VGRA for the disk is too big for the specified parameters. Increase the extent size or decrase max_PVs/max_LVs andtry again.


Does anyone know how to resolve this ? Thanks
Sajjad Sahir
Honored Contributor

Re: Added a new disk, How to see it ?

Dear Amreek

don't try to use pvcreate -f if lun is located to somewhere else it will destroy whole data. so u should carefule to use pvcreate -f command.
if u are using pvcreate only without f it will tell u if lun is already used or not

once u got the answers u can close the thread.

thanks and regards.

Sajjad Sahir
Suraj K Sankari
Honored Contributor

Re: Added a new disk, How to see it ?

Hi,
Please assign points who gave there valuable time to your problem......

When you return to view the answer, please rate it by assigning points
on a scale of 1-10. To assign points, simply login and click the
dropdown points menu next to each reply. Use the following scale when
rating a response:

N/A: The reply was a clarification to my original question
1-3: The answer didn't help answer my question, but thanks anyhow!
4-7: The answer helped with a portion of my question, but I still need
help.
8-10: The answer has solved my problem completely! I'm a happy camper!



Suraj
shankar!
Frequent Advisor

Re: Added a new disk, How to see it ?

You can use "sam" to check the status of newly added disk.
run sam --> Disks and file systems --> Disk devices --> you can see label "use underneath Unused. this can tell that the disk was not used by OS.

-shankar
amreek bansal
Frequent Advisor

Re: Added a new disk, How to see it ?


Thanks everyone for thier help. Its all done now. clsoing thread