Академический Документы
Профессиональный Документы
Культура Документы
. Vamos a ello.
End
Blocks
Id System
29366
235882363
83 Linux
end on cylinder boundary.
30402
8321670
5 Extended
end on cylinder boundary.
30402
8321670
82 Linux swap
end on cylinder boundary.
disk label
disk label
disk label
disk label
En este caso los nuestros discos duros discos duros son: /dev/sdb, /dev/sdc, /dev/sdd
y /dev/sde ya que estn sin formatear.
/dev/sda2
29366
30402
8321670
5
Warning: Partition 2 does not end on cylinder boundary.
/dev/sda5
29366
30402
8321670
82
Warning: Partition 5 does not end on cylinder boundary.
Extended
Linux swap
Start
End
243201
Blocks
1953512001
Id
83
System
Linux
Start
End
243201
Blocks
1953512001
Id
System
Linux
Id
System
Linux
83
Start
End
243201
Blocks
1953512001
83
Start
End
243201
Blocks
1953512001
Id
83
System
Linux
Crear el volumen
Instalamos lvm2:
sudo apt-get install lvm2
Ahora creamos volmenes fsicos por cada uno de los 4 discos duros
pvcreate /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1
y podremos verlo con
pvdisplay /dev/sdb1
o ver todos con
pvdisplay
Ahora juntamos todos los discos en uno nuevo volumen virtual con:
vgcreate datos /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1
Nota: si queremos aadir ms volmenes fsicos al virtual creado:
vgextend datos /dev/sdf1
listamos el volumen:
lvdisplay
--- Logical volume --LV Path
LV Name
VG Name
LV UUID
LV Write Access
LV Creation host, time
LV Status
# open
LV Size
Current LE
Segments
Allocation
Read ahead sectors
- currently set to
Block device
/dev/datos/datos_vol
datos_vol
datos
5WZE9U-8pn3-eHqh-o5z7-hHFB-CcBk-bYOiEY
read/write
lummyflv, 2014-07-01 18:47:19 +0900
available
0
7,28 TiB
1907724
4
inherit
auto
256
254:0
/media/datos_vol/
ext4
defaults