[Linux-cluster] Snapshots with GFS1/RHEL 4 (U4)

Oliver Olsen oliver.olsen at advance.as
Fri Jun 22 18:17:17 UTC 2007


Quoting "Caetano, Greg" <Greg.Caetano at hp.com>:

> Oliver
>
> What does the following command show for the status of your snapshot
> volume and/or device
>
> # lvdisplay /dev/GFS/LV1
>
Greg,
The output is as follows

[root at gfs1 Scripts]# lvdisplay /dev/GFS/LV1
   --- Logical volume ---
   LV Name                /dev/GFS/LV1
   VG Name                GFS
   LV UUID                zCkOfT-2Nua-Z3V2-GEy7-vrrs-p0IX-qu01kr
   LV Write Access        read/write
   LV snapshot status     source of
                          /dev/GFS/snap [active]
   LV Status              available
   # open                 1
   LV Size                1.56 GB
   Current LE             400
   Segments               1
   Allocation             inherit
   Read ahead sectors     0
   Block device           253:3

[root at gfs1 Scripts]# lvdisplay /dev/GFS/snap
   --- Logical volume ---
   LV Name                /dev/GFS/snap
   VG Name                GFS
   LV UUID                KSPZxh-y9j4-h1c3-JaYo-O8FZ-2dPr-Nbv09S
   LV Write Access        read/write
   LV snapshot status     active destination for /dev/GFS/LV1
   LV Status              available
   # open                 0
   LV Size                1.56 GB
   Current LE             400
   COW-table size         100.00 MB
   COW-table LE           25
   Allocated to snapshot  0.02%
   Snapshot chunk size    8.00 KB
   Segments               1
   Allocation             inherit
   Read ahead sectors     0
   Block device           253:5

(I used "lvcreate -L100M -s -n snap /dev/GFS/LV1" for this particular  
snapshot)

Best regards,
Oliver Olsen




More information about the Linux-cluster mailing list