Operating System - HP-UX
1767188 Members
5183 Online
108959 Solutions
New Discussion юеВ

is my hard disk REALLY unused ?

 
Frederic Beudaert
Occasional Contributor

is my hard disk REALLY unused ?

SAM(and bdf...) tells that one of the hard disks installed on our D-250 is
unused.
How can I know if this disk is really empty and unued, or if it is used by some
other application, another file system...?

Thanks a lot !!!!
3 REPLIES 3
Alan Riggs_1
Regular Advisor

Re: is my hard disk REALLY unused ?

pvdisplay -v /dev/dsk/[device file]

will show you a map of teh physical extents on the drive, if it has ever been
formatted for use in LVM.

Re: is my hard disk REALLY unused ?

Be aware that the disk could be used by a database like Oracle as a raw disk,
and therefore you cannot se it in sam.

God luck
Jesper Sivertsen
Ric Bradley_2
New Member

Re: is my hard disk REALLY unused ?

Do the following 2 commands:

strings /etc/lvmtab | grep cxtxdx
lvlnboot -v

If the first command doesn't find the disk, then it is not part of a Volume
Group.

If the disk does not show up as Boot, Root, Swap, or Dump, in the output of the
second command also, then it is not being used and is available.