[linux-lvm] Strange snapshots behavior in dev/<vg>/

Stuart D. Gathman stuart at bmsi.com
Sat Nov 17 02:27:30 UTC 2007


On Sat, 17 Nov 2007, Denny Schierz wrote:

> root at henrietta ~ # ls /media/backup/angelica-disk/dev/neko/
> hitomi-disk

Why would you do this?  device nodes in your backup still just point to
the device.  I suggest mounting your backup volumes with -o nodev,noexec both
to prevent possible security problems and to make it clear that the above
isn't useful.

> ----
> 
> So, first question, why i have the name from a different volume
> (hitomi-disk) in the dev from angelica?

Because hitomi-disk is the one that happens to be online at the moment.

> root at henrietta ~ # ls /media/backup/hitomi-disk/dev/neko
> ls: /media/backup/hitomi-disk/dev/neko: Input/output error

> Why i get here an error?

Because there isn't a disk online at the moment.

-- 
	      Stuart D. Gathman <stuart at bmsi.com>
    Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.




More information about the linux-lvm mailing list