Re: Volume group removal (135 Views)
Reply
Regular Advisor
EU-Admins-UNIX
Posts: 196
Registered: ‎09-23-2011
Message 1 of 4 (157 Views)
Accepted Solution

Volume group removal

Hi

 

We have 3 VG's that have device files associated to them:

 

root@xxxxxx at / =>ll /dev | grep vgL
drwxr-xr-x   2 root       sys             96 Jul 19 02:33 vgL01
drwxr-xr-x   2 root       sys             96 Jul 19 02:45 vgL11
drwxr-xr-x   2 root       sys             96 Jul 19 02:48 vgL13

 

They cannot be vgdisplayed or wgexported, nor are they in the lvmtab.

 

They don't seem to exist.

 

Is it as simple as just deleting these files or are there any other commands I can try

 

Regards

 

Tariq

Please use plain text.
Honored Contributor
Patrick Wallek
Posts: 13,736
Registered: ‎06-21-2000
Message 2 of 4 (149 Views)

Re: Volume group removal

If they're  not in /etc/lvmtab, or if running 11.31 and using VG 2.x volume groups the lvmtab_p file, then chances are you can just remove the directories from /dev without any problems.

Please use plain text.
Regular Advisor
EU-Admins-UNIX
Posts: 196
Registered: ‎09-23-2011
Message 3 of 4 (144 Views)

Re: Volume group removal

Thanks Patrick

Please use plain text.
Honored Contributor
Bill Hassell
Posts: 14,200
Registered: ‎05-29-2000
Message 4 of 4 (135 Views)

Re: Volume group removal

Without any entries in lvmtab, these are just simple directories and files. They can be removed.

Why they are there can only be guessed but they can certainly be recreated. The only purpose of the directory is to hold the group and lvol special files. 

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation