[CentOS] iostat a partition

Fri Feb 20 02:41:08 UTC 2015
John R Pierce <pierce at hogranch.com>

On 2/19/2015 9:27 AM, Tim Dunphy wrote:
>   So if I have this disk partition:
>
>
> [root at uszmpdblp010la mysql]# df -h /mysql
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/mapper/MysqlVG-MysqlVol
>                        9.9G  1.1G  8.4G  11% /mysql

thats not a partition thats a file system on a logical volume...



# df -h /mirror
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vg_sg1data-lvmirror
                       1.0T  736G  289G  72% /mirror

# pvs
   PV         VG         Fmt  Attr PSize  PFree
   /dev/sdb2  vg_sg1     lvm2 a--   2.00t      0
   /dev/sdc1  vg_sg1data lvm2 a--  16.37t 415.80g
   /dev/sdd1  vg_sg1data lvm2 a--  16.37t   7.87t


or, a gnarlier case...

# df -h /home2
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vgdata-lvhome2
                       1.8T  306G  1.6T  17% /home2

# pvs
   PV         VG           Fmt  Attr PSize   PFree
   /dev/md127 vgdata       lvm2 a--    1.82t 19.68g

# mdadm -D /dev/md127
/dev/md127:
         Version : 1.2
   Creation Time : Sat Jun 14 13:18:25 2014
      Raid Level : raid1
      Array Size : 1953383232 (1862.89 GiB 2000.26 GB)
   Used Dev Size : 1953383232 (1862.89 GiB 2000.26 GB)
    Raid Devices : 2
   Total Devices : 2
     Persistence : Superblock is persistent

     Update Time : Thu Feb 19 18:40:15 2015
           State : clean
  Active Devices : 2
Working Devices : 2
  Failed Devices : 0
   Spare Devices : 0

            Name : new.freescruz.com:0  (local to host new.freescruz.com)
            UUID : d9c90fda:9a0e5d4f:d27cf1f6:19d0b43a
          Events : 1485

     Number   Major   Minor   RaidDevice State
        0       8       17        0      active sync   /dev/sdb1
        1       8       33        1      active sync   /dev/sdc1



-- 
john r pierce                                      37N 122W
somewhere on the middle of the left coast