XS file systems
-
Another thing to note is that devices under /dev/mapper are sym linked logical volumes. If you run ls -l /dev/mapper you'll see all of the lv's have an l attribute and it will show you which device the link points to.
These same devices are also sym linked under /dev/somevolumegroup. But they lack the volume group prefix that you have under /dev/mapper.
-
man.. so many more options that Windows.. makes the head swim more than a bit.
OK in a private chat with Scott, he mentioned that this was an LVM mapper (where my VM storage is). I'm assuming you know it's LVM because of the mapper term in the path?
Is LVM a file system? or something higher than that? like the RAID layer before the file system? -
@Dashrender said:
man.. so many more options that Windows.. makes the head swim more than a bit.
OK in a private chat with Scott, he mentioned that this was an LVM mapper (where my VM storage is). I'm assuming you know it's LVM because of the mapper term in the path?
Is LVM a file system? or something higher than that? like the RAID layer before the file system?Lower, LVM sits between the file system and the disks driver.
-
@Dashrender said:
OK in a private chat with Scott, he mentioned that this was an LVM mapper (where my VM storage is). I'm assuming you know it's LVM because of the mapper term in the path?
He and I were going through Linux stuff yesterday offline.
I wonder how many Linux conversations he has per day, LOL.
-
@Dashrender said:
man.. so many more options that Windows.. makes the head swim more than a bit.
OK in a private chat with Scott, he mentioned that this was an LVM mapper (where my VM storage is). I'm assuming you know it's LVM because of the mapper term in the path?
Is LVM a file system? or something higher than that? like the RAID layer before the file system?Not an LVM mapper, LVM and a mapper. You can double check that it is LVM by using...
lvs
-
@Dashrender said:
Is LVM a file system? or something higher than that? like the RAID layer before the file system?
LVM = Logical Volume Manager
Physical Device -> RAID Layer -> LVM -> Volume -> Filesystem
Same as on Windows. You know the Windows LVM layer as "Dynamic Disks".
-
@BRRABill said:
I wonder how many Linux conversations he has per day, LOL.
Rather a lot. However a lot of them are actually Linux-triggered general conversations. Like LVM isn't a Linux thing, it's a generic OS thing that Windows Admins are often encouraged to ignore or not grok.
-
@scottalanmiller said:
@Dashrender said:
Is LVM a file system? or something higher than that? like the RAID layer before the file system?
LVM = Logical Volume Manager
Physical Device -> RAID Layer -> LVM -> Volume -> Filesystem
Same as on Windows. You know the Windows LVM layer as "Dynamic Disks".
Yeah, I rarely use Dynamic Disks. In my situations it's not a common need.
-
@Dashrender said:
Yeah, I rarely use Dynamic Disks. In my situations it's not a common need.
The big reason for any LVM is risk mitigation, not a need at the outset. You use it so that you are prepared for the unknown. Plus it is what normally provides for snapshots.
-
@scottalanmiller said:
@Dashrender said:
Yeah, I rarely use Dynamic Disks. In my situations it's not a common need.
The big reason for any LVM is risk mitigation, not a need at the outset. You use it so that you are prepared for the unknown. Plus it is what normally provides for snapshots.
So a non VM'ed Linux machine can take a snapshot?
let me ask that another way.
A baremetal Linux box can do a snapshot if using LVM?
-
@Dashrender said:
@scottalanmiller said:
@Dashrender said:
Yeah, I rarely use Dynamic Disks. In my situations it's not a common need.
The big reason for any LVM is risk mitigation, not a need at the outset. You use it so that you are prepared for the unknown. Plus it is what normally provides for snapshots.
So a non VM'ed Linux machine can take a snapshot?
let me ask that another way.
A baremetal Linux box can do a snapshot if using LVM?
Yes, this isn't a snapshot at the hypervisor level this is a snapshot below the filesystem. The windows analogy, a bad one but still, is the "previous versions" feature.
-
@Dashrender said:
A baremetal Linux box can do a snapshot if using LVM?
Of course. Every enterprise has OS since the 1990s except Windows and Windows since only a little bit later than that. That was standard long before virtualization started using it in the AMD64 space.
-
@coliver said:
Yes, this isn't a snapshot at the hypervisor level this is a snapshot below the filesystem. The windows analogy, a bad one but still, is the "previous versions" feature.
Windows VSS is a direct "copy" (by feature, not by implementation) of the Linux LVM system which, in turn, was a copy of the one from AIX.
-
@scottalanmiller said:
@coliver said:
Yes, this isn't a snapshot at the hypervisor level this is a snapshot below the filesystem. The windows analogy, a bad one but still, is the "previous versions" feature.
Windows VSS is a direct "copy" (by feature, not by implementation) of the Linux LVM system which, in turn, was a copy of the one from AIX.
That makes more sense.
-
Some systems that have had snapshots for as long as I can remember...Solaris, AIX, BSD, Linux, HP-UX and, at some point later after we had been long mocking it for lacking them, Windows. Mac is not enterprise and might have it, but I have no idea. It did at one point via ZFS but might have reverted and lost that functionality.