Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung Nächste Überarbeitung | Vorherige Überarbeitung Nächste Überarbeitung Beide Seiten, nächste Überarbeitung | ||
lpi2:xfs [2013/12/10 11:12] ingo_wichmann [xfsrestore] |
lpi2:xfs [2016/06/21 10:13] ingo_wichmann |
||
---|---|---|---|
Zeile 3: | Zeile 3: | ||
Debian 6: xfsprogs xfsdump | Debian 6: xfsprogs xfsdump | ||
===== xfs Dateisystem anlegen ===== | ===== xfs Dateisystem anlegen ===== | ||
+ | Dieses Beispiel setzt voraus, dass schon eine [[lvm|LVM VolumeGroup]] ''vg_centos6'' existiert, und darin noch mindestens 3 G frei sind. | ||
+ | |||
Logical Volumes anlegen: | Logical Volumes anlegen: | ||
- | pvcreate /dev/sda2 | ||
- | vgextend vg_centos6 /dev/sda2 | ||
lvcreate --name xfs_production --size 1G vg_centos6 | lvcreate --name xfs_production --size 1G vg_centos6 | ||
lvcreate --name xfs_backup --size 2G vg_centos6 | lvcreate --name xfs_backup --size 2G vg_centos6 | ||
Zeile 56: | Zeile 56: | ||
quit | quit | ||
(bash) | (bash) | ||
- | echo /mnt/xfs_production/test1.txt | + | ls /mnt/xfs_production/test1.txt |