How to extend OS disk to more than 4gb?

Raspberry Pi related support

How to extend OS disk to more than 4gb?

Postby MusicLover22 » 24 Jun 2022, 18:33

Arch Linux that comes with Rune Audio is missing the crucial command "pvcreate" so i cannot use more than the 4gb the rune audio allocates of my memory card, very bad. How can i get pvcreate installed on this OS so i can allocate the remaining storage of my sdcard?

parted is installed, fdisk is installed, so i have created a filesystem on the remaining space that is unallocated, now i just need to give it a mount path, which i cannot because pvcreate doesn't exist.

i tried pacman -S lvm2 but:

Code: Select all
root@music1(rw):~# pacman -S lvm2
resolving dependencies...
looking for conflicting packages...

Packages (3) device-mapper-2.02.183-2  thin-provisioning-tools-0.7.6-1  lvm2-2.02.183-2

Total Download Size:   1.76 MiB
Total Installed Size:  8.24 MiB
Net Upgrade Size:      7.42 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
error: failed retrieving file 'device-mapper-2.02.183-2-armv7h.pkg.tar.xz' from mirror.archlinuxarm.org : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed retrieving file 'thin-provisioning-tools-0.7.6-1-armv7h.pkg.tar.xz' from mirror.archlinuxarm.org : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed retrieving file 'lvm2-2.02.183-2-armv7h.pkg.tar.xz' from mirror.archlinuxarm.org : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.


So what exactly can i do? Thanks.
MusicLover22
 
Posts: 9
Joined: 04 Jan 2020, 18:46

Re: How to extend OS disk to more than 4gb?

Postby MusicLover22 » 24 Jun 2022, 18:59

think i solved this by changing mirror or running pacman -Syu but now it cannot run pvcreate anyway:

Code: Select all
root@music1(rw):/# pvcreate
pvcreate: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by pvcreate)
pvcreate: /usr/lib/libc.so.6: version `GLIBC_2.28' not found (required by pvcreate)
pvcreate: /usr/lib/libc.so.6: version `GLIBC_2.33' not found (required by pvcreate)
pvcreate: /usr/lib/libc.so.6: version `GLIBC_2.33' not found (required by /usr/lib/libdevmapper-event.so.1.02)
pvcreate: /usr/lib/libncursesw.so.6: no version information available (required by /usr/lib/libreadline.so.8)
pvcreate: /usr/lib/libc.so.6: version `GLIBC_2.28' not found (required by /usr/lib/libreadline.so.8)
pvcreate: /usr/lib/libc.so.6: version `GLIBC_2.30' not found (required by /usr/lib/libsystemd.so.0)
pvcreate: /usr/lib/libc.so.6: version `GLIBC_2.28' not found (required by /usr/lib/libsystemd.so.0)
pvcreate: /usr/lib/libc.so.6: version `GLIBC_2.33' not found (required by /usr/lib/libsystemd.so.0)
pvcreate: /usr/lib/libc.so.6: version `GLIBC_2.32' not found (required by /usr/lib/libsystemd.so.0)
pvcreate: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /usr/lib/libsystemd.so.0)
pvcreate: /usr/lib/libc.so.6: version `GLIBC_2.28' not found (required by /usr/lib/libblkid.so.1)
pvcreate: /usr/lib/libc.so.6: version `GLIBC_2.33' not found (required by /usr/lib/libblkid.so.1)
pvcreate: /usr/lib/libc.so.6: version `GLIBC_2.30' not found (required by /usr/lib/libudev.so.1)
pvcreate: /usr/lib/libc.so.6: version `GLIBC_2.28' not found (required by /usr/lib/libudev.so.1)
pvcreate: /usr/lib/libc.so.6: version `GLIBC_2.33' not found (required by /usr/lib/libudev.so.1)
pvcreate: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /usr/lib/libudev.so.1)
pvcreate: /usr/lib/libc.so.6: version `GLIBC_2.28' not found (required by /usr/lib/libdevmapper.so.1.02)
pvcreate: /usr/lib/libc.so.6: version `GLIBC_2.33' not found (required by /usr/lib/libdevmapper.so.1.02)
pvcreate: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /usr/lib/libzstd.so.1)


This OS is an absolute mess :/ wish it was better, very difficult. Will reinstall everything and look for another way to utilize my entire sd card, i want to make a simple rsync script that moves music to the rune audio sdcard over night rahter then streaming it from the NAS and having the disks spinning 24/7 because it has to access a file at 20kb/s ....
MusicLover22
 
Posts: 9
Joined: 04 Jan 2020, 18:46

Re: How to extend OS disk to more than 4gb?

Postby MusicLover22 » 25 Jun 2022, 16:50

Just came back to apologize for my stupidity, there is actually an faq about how to extend the sd card here and it works fine.

https://www.runeaudio.com/documentation ... tition-sd/
MusicLover22
 
Posts: 9
Joined: 04 Jan 2020, 18:46

support RuneAudio Donate with PayPal


Return to Raspberry Pi

Who is online

Users browsing this forum: Bing [Bot] and 1 guest