From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.1.4322) Description of problem: I can create 2 logical volumes and moount them both to the same mount point, to me this is a bug that needs fixing. Example: lvcreate -L 500 /dev/vg00 - creates lvol1 lvcreate -L 1500 /dev/vg00 - creates lvol2 So now you have /dev/vg00/lvol1 and /dev/vg00/lvol2 mkdir /test mount /dev/vg00/lvol /test mount /dev/vg00/lvol2 /test then do a df...you have to volumes mounted at /test with different lvol's Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. See Description 2. 3. Actual Results: See Description Expected Results: Error out saying volume is already in use Additional info:
That's how mount works in unix, letting you stack filesystems over each other.
I have done my testing and it does not work that way on all Unix's...AIX and Linux do it this way, but HP and Sun have fixed this from happening. As for it being a bug, maybe it's not cause so many people like yourself have let it slide as "that's the way it has always been". If HP and Sun fixed it, it was for a reason, and I believe the reason it because people accidently fat finger things on a regular basis. Are you saying Red Hat is not going to fix this in THIER logical volume manager? I see you closed the ticket saying this is not a bug, could you please put in more the "That's how mount works in unix, letting you stack filesystems over each other" as a reason for closing this ticket.
This is nothing to do with lvm2. See the mount(2) man page or use google for background.