Weblog entry #4 for mindmerge

lvm naming conventions
Posted by mindmerge on Wed 4 Oct 2006 at 04:41
Tags: none.
Redhat has the following example for an lvm swap:
mkswap /dev/VolGroup00/LogVol01
(http://linux.web.cern.ch/linux/slc4/docs/rhel-sag-en-4/s1-swap-removing.html)

I understand the reasoning for the naming convention... they are logical and can be used in a large environment with ease.

Taking it from a smaller approach though I still think of this virtual volumes as physical devices. Thus my naming convention of choice is more simplistic.

I would mount my swap... if I wanted to mount it to LVM that is...
/dev/pri/swap

My root LVM mount would be of course:
/dev/pri/root

Some others that come to mind are....
/dev/sec/usr
/dev/sec/opt
/dev/sec/var ...

sec = secondary

Managing Redhat's boxes through the years... and several currently I have seen the same naming convention used on the boxes time and again. No real creativity anywhere just cookie cutter. I walk in... the boxes are already out of date.

I plan their inevitable demise...

 

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search