Operating System - HP-UX
1753339 Members
5245 Online
108792 Solutions
New Discussion

Re: removing internal disk

 
deepan4unix
Occasional Visitor

removing internal disk

Hi

 

I am working from india and server are located in America.

 

I have to remove the hard disk from command.

 

Do have any command from removing hard disk.

 

rgards

 

Deepan

5 REPLIES 5
Dennis Handly
Acclaimed Contributor

Re: removing internal disk

What filesystem is on that disk?

If it doesn't contain the OS and the filesystem isn't busy, you could unmount it.

Taifur
Respected Contributor

Re: removing internal disk

 

Hi

 

Is ur harddisk under RAID ?

 

Taifur

 

sanvel
Occasional Contributor

Re: removing internal disk

Hi Deepan,

 

Is this is a local disk or Storage LUN?

Is that disk is placed under any Volume group(VG)?

if it is YES,

unmount the file system reside on this VG.

#umount <file system name>

 

Remove the logical volumes created on this disk.

#lvremove /dev/dsk/<logical volume name>

 

Remove the VG from that disk

#vgremove /dev/<volume group name>

 

Remove the disk from VG

#pvremove /dev/rdsk/<physical volume path>

 

deepan4unix
Occasional Visitor

Re: removing internal disk

Hi

 

this disk is the primary disk. conatins vg00.

 

I have to patching .  Not from storage.

 

i have been asked to remove the primary disk and do patching in secondary disk.

 

 

deepan

Dennis Handly
Acclaimed Contributor

Re: removing internal disk

>I have been asked to remove the primary disk and do patching in secondary disk.

 

Have you looked into using DRD?