#navi(linux関連);
 lvm          lvmchange    lvmdiskscan  lvmdump      lvmsadc      lvmsar
* lvmdiskscan [#s0e0c056]
  /dev/ram0          [       64.00 MB]
  /dev/ubuntu/root   [        2.57 GB]
  /dev/ram1          [       64.00 MB]
  /dev/sda1          [        2.76 GB] LVM physical volume
  /dev/ubuntu/swap_1 [      184.00 MB]
  /dev/ram2          [       64.00 MB]
  /dev/ram3          [       64.00 MB]
  /dev/ram4          [       64.00 MB]
  /dev/ram5          [       64.00 MB]
  /dev/sda5          [      243.14 MB]
  /dev/ram6          [       64.00 MB]
  /dev/ram7          [       64.00 MB]
  /dev/ram8          [       64.00 MB]
  /dev/ram9          [       64.00 MB]
  /dev/ram10         [       64.00 MB]
  /dev/ram11         [       64.00 MB]
  /dev/ram12         [       64.00 MB]
  /dev/ram13         [       64.00 MB]
  /dev/ram14         [       64.00 MB]
  /dev/ram15         [       64.00 MB]
  1 disk
  18 partitions
  0 LVM physical volume whole disks
  1 LVM physical volume


* lvmdump -help [#x81112c5]
/sbin/lvmdump [options]
    -h print this message
    -a advanced collection - warning: if lvm is already hung,
       then this script may hang as well if -a is used
    -m gather LVM metadata from the PVs
    -d <directory> dump into a directory instead of tarball
    -c if running clvmd, gather cluster data as well

**lvmdump [#h534c648]
 Creating dump directory: /root/lvmdump-ubuntu-2009080553146
 
 Gathering LVM & device-mapper version info...
 Gathering dmsetup info...
 Gathering process info...
 Gathering console messages...
 Gathering /etc/lvm info...
 Gathering /dev listing...
 Gathering /sys/block listing...
 Creating report tarball in /root/lvmdump-ubuntu-2009080553146.tgz...
 
 

*lvm help [#ua43686d]
 lvm> help
  Available lvm commands:
  Use 'lvm help <command>' for more information
 
  dumpconfig      Dump active configuration
  formats         List available metadata formats
  help            Display help for commands
  lvchange        Change the attributes of logical volume(s)
  lvconvert       Change logical volume layout
  lvcreate        Create a logical volume
  lvdisplay       Display information about a logical volume
  lvextend        Add space to a logical volume
  lvmchange       With the device mapper, this is obsolete and does nothing.
  lvmdiskscan     List devices that may be used as physical volumes
  lvmsadc         Collect activity data
  lvmsar          Create activity report
  lvreduce        Reduce the size of a logical volume
  lvremove        Remove logical volume(s) from the system
  lvrename        Rename a logical volume
  lvresize        Resize a logical volume
  lvs             Display information about logical volumes
  lvscan          List all logical volumes in all volume groups
  pvchange        Change attributes of physical volume(s)
  pvresize        Resize physical volume(s)
  pvck            Check the consistency of physical volume(s)
  pvcreate        Initialize physical volume(s) for use by LVM
  pvdata          Display the on-disk metadata for physical volume(s)
  pvdisplay       Display various attributes of physical volume(s)
  pvmove          Move extents from one physical volume to another
  pvremove        Remove LVM label(s) from physical volume(s)
  pvs             Display information about physical volumes
  pvscan          List all physical volumes
  segtypes        List available segment types
  vgcfgbackup     Backup volume group configuration(s)
  vgcfgrestore    Restore volume group configuration
  vgchange        Change volume group attributes
  vgck            Check the consistency of volume group(s)
  vgconvert       Change volume group metadata format
  vgcreate        Create a volume group
  vgdisplay       Display volume group information
  vgexport        Unregister volume group(s) from the system
  vgextend        Add physical volumes to a volume group
  vgimport        Register exported volume group with system
  vgmerge         Merge volume groups
  vgmknodes       Create the special files for volume group devices in /dev
  vgreduce        Remove physical volume(s) from a volume group
  vgremove        Remove volume group(s)
  vgrename        Rename a volume group
  vgs             Display information about volume groups
  vgscan          Search for all volume groups
  vgsplit         Move physical volumes into a new or existing volume group
  version         Display software and driver version information

トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS