| | 51 | |
| | 52 | = mounting XFS with LVM = |
| | 53 | * tc@box:~$ tce-load -wi filesystems-`uname -r` |
| | 54 | * tc@box:~$ tce-load -wi lvm2 |
| | 55 | |
| | 56 | * tc@box:~$ sudo vgscan |
| | 57 | {{{ |
| | 58 | Reading all physical volumes. This may take a while... |
| | 59 | Found volume group "vgroot" using metadata type lvm2 |
| | 60 | }}} |
| | 61 | * tc@box:~$ sudo lvscan |
| | 62 | {{{ |
| | 63 | inactive '/dev/vgroot/lvroot' [19.07 GiB] inherit |
| | 64 | inactive '/dev/vgroot/lvswap' [120.00 MiB] inherit |
| | 65 | }}} |
| | 66 | * tc@box:~$ sudo vgchange -ay |
| | 67 | {{{ |
| | 68 | 2 logical volume(s) in volume group "vgroot" now active |
| | 69 | The link /dev/vgroot/lvroot should had been created by udev but it was not found. Falling back to direct link creation. |
| | 70 | The link /dev/vgroot/lvswap should had been created by udev but it was not found. Falling back to direct link creation. |
| | 71 | }}} |
| | 72 | * tc@box:~$ ls -l /dev/vgroot/ |
| | 73 | {{{ |
| | 74 | total 0 |
| | 75 | lrwxrwxrwx 1 root root 25 Dec 2 02:02 lvroot -> /dev/mapper/vgroot-lvroot |
| | 76 | lrwxrwxrwx 1 root root 25 Dec 2 02:02 lvswap -> /dev/mapper/vgroot-lvswap |
| | 77 | }}} |
| | 78 | * tc@box:~$ sudo mount -r /dev/vgroot/lvroot /mnt/ -t xfs |