Guest
Public paste!

vgextend

By: a guest | Mar 22nd, 2010 | Syntax: None | Size: 1.62 KB | Hits: 31 | Expires: Never
This paste has a previous version, view the difference. Copy text to clipboard
  1. pvs
  2.   PV         VG         Fmt  Attr PSize PFree
  3.   /dev/hdb1  debiantest lvm2 a-   5,96G 5,96G
  4.   /dev/hdc2  debiantest lvm2 a-   3,79G    0
  5.  
  6.  
  7.  
  8. debiantest:/home/cemoi# vgextend debiantest /dev/hdb1
  9.   Physical volume '/dev/hdb1' is already in volume group 'debiantest'
  10.   Unable to add physical volume '/dev/hdb1' to volume group 'debiantest'.
  11. debiantest:/home/cemoi# lvs -o +devices
  12.   LV     VG         Attr   LSize   Origin Snap%  Move Log Copy%  Convert Devices      
  13.   home   debiantest -wi-ao   2,35G                                       /dev/hdc2(369)
  14.   root   debiantest -wi-ao   1,26G                                       /dev/hdc2(0)  
  15.   swap_1 debiantest -wi-ao 188,00M                                       /dev/hdc2(322)
  16. debiantest:/home/cemoi# lshw -class disk
  17.   *-disk                  
  18.        description: ATA Disk
  19.        product: ST36422A
  20.        vendor: Seagate
  21.        physical id: 1
  22.        bus info: ide@0.1
  23.        logical name: /dev/hdb
  24.        version: 3.02
  25.        serial: 5AC00QSD
  26.        size: 6103MiB (6400MB)
  27.        capacity: 6103MiB (6400MB)
  28.        capabilities: ata dma lba iordy smart pm partitioned partitioned:dos
  29.        configuration: mode=udma2 signature=000d6dcf smart=on
  30.   *-disk
  31.        description: ATA Disk
  32.        product: ST34311A
  33.        vendor: Seagate
  34.        physical id: 0
  35.        bus info: ide@1.0
  36.        logical name: /dev/hdc
  37.        version: 6.01
  38.        serial: 5BF0HA61
  39.        size: 4126MiB (4327MB)
  40.        capacity: 4126MiB (4327MB)
  41.        capabilities: ata dma lba iordy smart security pm partitioned partitioned:dos
  42.        configuration: mode=udma2 signature=90909090 smart=on