Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Partition resize question/issue

Hi ,

I'm installing Fedora 28 server aarch64 on my raspberry pie 3b+. I'm following the wiki (https://fedoraproject.org/wiki/Architectures/ARM/Raspberry_Pi#Resize_after_initial-setup) but something goes wrong. I only get 1/2 of the size of my SD Card. Install log is at https://paste.fedoraproject.org/paste/XgWnH50-qK7QAlj~8GM-bw.

I now have : [ludovic@localhost ~]$ df -H Filesystem Size Used Avail Use% Mounted on devtmpfs 459M 0 459M 0% /dev tmpfs 504M 0 504M 0% /dev/shm tmpfs 504M 492k 503M 1% /run tmpfs 504M 0 504M 0% /sys/fs/cgroup /dev/mapper/fedora-root 5.5G 2.2G 3.4G 39% / tmpfs 504M 4.1k 504M 1% /tmp /dev/mmcblk0p2 1.1G 100M 854M 11% /boot /dev/mmcblk0p1 210M 21M 189M 11% /boot/efi tmpfs 101M 0 101M 0% /run/user/1000 [ludovic@localhost ~]$ fdisk -l fdisk: cannot open /dev/mmcblk0: Permission denied fdisk: cannot open /dev/mapper/fedora-root: Permission denied fdisk: cannot open /dev/mapper/fedora-swap: Permission denied [ludovic@localhost ~]$ sudo -i [sudo] password for ludovic: [root@localhost ~]# fdisk -l Disk /dev/mmcblk0: 14.9 GiB, 15931539456 bytes, 31116288 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x9235b19a

Device Boot Start End Sectors Size Id Type /dev/mmcblk0p1 * 2048 411647 409600 200M 6 FAT16 /dev/mmcblk0p2 411648 2508799 2097152 1G 83 Linux /dev/mmcblk0p3 2508800 31116254 28607455 13.7G 8e Linux LVM

Disk /dev/mapper/fedora-root: 5.1 GiB, 5473566720 bytes, 10690560 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mapper/fedora-swap: 720 MiB, 754974720 bytes, 1474560 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes

Why is my lvm only 5gb and not more?

Partition resize question/issue

Hi ,

I'm installing Fedora 28 server aarch64 on my raspberry pie 3b+. I'm following the wiki (https://fedoraproject.org/wiki/Architectures/ARM/Raspberry_Pi#Resize_after_initial-setup) but something goes wrong. I only get 1/2 of the size of my SD Card. Install log is at https://paste.fedoraproject.org/paste/XgWnH50-qK7QAlj~8GM-bw.

I now have :

[ludovic@localhost ~]$ df -H
Filesystem               Size  Used Avail Use% Mounted on
devtmpfs                 459M     0  459M   0% /dev
tmpfs                    504M     0  504M   0% /dev/shm
tmpfs                    504M  492k  503M   1% /run
tmpfs                    504M     0  504M   0% /sys/fs/cgroup
/dev/mapper/fedora-root  5.5G  2.2G  3.4G  39% /
tmpfs                    504M  4.1k  504M   1% /tmp
/dev/mmcblk0p2           1.1G  100M  854M  11% /boot
/dev/mmcblk0p1           210M   21M  189M  11% /boot/efi
tmpfs                    101M     0  101M   0% /run/user/1000
[ludovic@localhost ~]$ fdisk -l
fdisk: cannot open /dev/mmcblk0: Permission denied
fdisk: cannot open /dev/mapper/fedora-root: Permission denied
fdisk: cannot open /dev/mapper/fedora-swap: Permission denied
[ludovic@localhost ~]$ sudo -i
[sudo] password for ludovic: 
[root@localhost ~]# fdisk -l
Disk /dev/mmcblk0: 14.9 GiB, 15931539456 bytes, 31116288 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x9235b19a

0x9235b19a Device Boot Start End Sectors Size Id Type /dev/mmcblk0p1 * 2048 411647 409600 200M 6 FAT16 /dev/mmcblk0p2 411648 2508799 2097152 1G 83 Linux /dev/mmcblk0p3 2508800 31116254 28607455 13.7G 8e Linux LVM

LVM Disk /dev/mapper/fedora-root: 5.1 GiB, 5473566720 bytes, 10690560 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes

bytes Disk /dev/mapper/fedora-swap: 720 MiB, 754974720 bytes, 1474560 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes

bytes

Why is my lvm only 5gb and not more?