[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[linux-lvm] RE: doubt regarding SMP compliance and mirroring



Hi all,
	
	I have few doubts and wanted to clarify the same.

1) Is the LVM2/device-mapper code fully SMP aware?

2) Is the VGDA data written to all PVs ? ( I mean to say do all the PVs
have the same VGDA data?).

I got this doubt because I was thinking of a scenario where we have a
shared disk, shared between two nodes. If one of the nodes (say node1)
is reading from the same (logical) volume while the other node(node 2)
is changing the (logical) volume attributes, will the content of the
buffer cache of the node1 not be stale. ( I believe currently a node
does not scan for VGDA before all I/O and believes its in-memory copy to
be uptodate always, Please correct me if I am wrong).

3) In case node 1 is doing I/O to a different volume which is in a
particular volume group, will the changes be written into the PVs of
other logical volumes of the same volume group also.


Thanks for the help,
Sharad.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]