Re: Volume group removal (227 Views)
Reply
Regular Advisor
EU-Admins-UNIX
Posts: 196
Registered: ‎09-23-2011
Message 1 of 4 (249 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

Honored Contributor
Patrick Wallek
Posts: 13,787
Registered: ‎06-21-2000
Message 2 of 4 (241 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.

Regular Advisor
EU-Admins-UNIX
Posts: 196
Registered: ‎09-23-2011
Message 3 of 4 (236 Views)

Re: Volume group removal

Thanks Patrick

Honored Contributor
Bill Hassell
Posts: 14,225
Registered: ‎05-29-2000
Message 4 of 4 (227 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. 

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.