1835014 Members
2839 Online
110073 Solutions
New Discussion

Re: check unused disk

 
Fauziah Mahdan
Super Advisor

check unused disk

Hi all, I have 2 disk for my hpux 11.23
How do I know which disk has been used and which disk is still free.
From ioscan -fnC disk
1) dvdrom
2) disk1 /dev/dsk/c0t0d0 /dev/rdsk/c0t0d0 73G
3) disk2 /dev/dsk/c2t0d0 /dev/rdsk/c2todo 73G

From command strings /etc/lvmtab
/dev/vg00
/dev/dsk/c2t1d0s2

Pls help
Fauziah
8 REPLIES 8
Rajeev  Shukla
Honored Contributor

Re: check unused disk

Yes by looking at the lvmtab file you should see this..It looks like in your case you are not using LVM but anyway disk connected to conroller 2 is already used which is /dev/dsk/c2t0d0
The free disk is /dev/dsk/c0t0d0
Sandy Chen
Honored Contributor

Re: check unused disk

Hi Fauziah,

It's kind a odd seeing data you give..
The disk on lvmtab does not exist on you ioscan?? Or do you put wrong info?

regards,
Sandy
I never think of the future. It comes soon enough.
Gurumanickam
Frequent Advisor

Re: check unused disk

Hi,

your ioscan information may be wrong. As per your lvmtab information the disk which is connected to the second controller /dev/dsk/c2t1d0 is used and /dev/dsk/c0t0d0 is free

Be an expert
Fauziah Mahdan
Super Advisor

Re: check unused disk

Ok I copy paste here
# ioscan -fnC disk

Class I H/W Path Driver S/W State H/W Type Description

============================================================================

disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-N

/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0

disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 73.4GST373454LC

/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0

disk 2 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 73.4GST373454LC

/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0

/dev/dsk/c2t1d0s1 /dev/rdsk/c2t1d0s1

/dev/dsk/c2t1d0s2 /dev/rdsk/c2t1d0s2

/dev/dsk/c2t1d0s3 /dev/rdsk/c2t1d0s3


# strings /etc/lvmtab
/dev/vg00
/dev/dsk/c2t1d0s2
#
Yang Qin_1
Honored Contributor

Re: check unused disk

From your ioscan and lvmtab: /dev/dsk/c2t0d0 is not used. You can double check it with SAM. In SAM /dev/dsk/c2t0d0 should be marked as unused.

Yang
rariasn
Honored Contributor

Re: check unused disk

Hi Fauziah Mahdan,

pvdisplay - display information about physical volumes within LVM volume group

# pvdisplay -v /dev/dsk/c2t0d0

rgs,

Fauziah Mahdan
Super Advisor

Re: check unused disk

Ok sorry admit my mistake I gave the dvd rom drive at 1st posting.
Ok now I get
Thanks all
Fauziah Mahdan
Super Advisor

Re: check unused disk

thanks