Error When Trying to Resize Samples Partition - Printable Version +- HomSpace Forum (https://homspace.nl/forum) +-- Forum: SamplerBox (https://homspace.nl/forum/forum-1.html) +--- Forum: Community (https://homspace.nl/forum/forum-2.html) +--- Thread: Error When Trying to Resize Samples Partition (/thread-46.html) |
Error When Trying to Resize Samples Partition - cforster - 12-06-21 Hi Folks, Thanks so much to Hans for this distro, and for keeping the SamplerBox project alive. I just discovered it in the last week and it seems great. I have the latest image (Box20210521.img) running on an SD card on a Raspberry Pi Model B (I hadn't realize how old this one was when I dug it up...). I can use the default instrument, change instrument using the web interface (so the age/specs of the Pi don't appear to be a problem). I followed the directions for enlarging the samples partition, sshing into the SamplerBox, but at the final step, when I go to write the new partition table to disk, I get the following error: Quote:The partition table has been altered. After reboot, however, the partition remains the same size. Here is the output of df -h Quote:root@samplerbox:~# df -h Yet if I run fdisk and print the partition table, it has remembered the resize through the reboot (apologies for the large paste--I'm not sure what info could be relevant here): Quote:root@samplerbox:~# fdisk /dev/mmcblk0 I've tried a few different SD cards, but always the same problem. Any ideas? Thanks, Chris RE: Error When Trying to Resize Samples Partition - hansehv - 12-06-21 Hi Chris, Yes, I do have an idea - the docs are not complete The filesystem (the thing you see with 'df') has not been enlarged yet to the size of the underlying partition. This has to be done on a reboot following the partition change with fdisk which did the job of making room on the partition for filesystem expansion. Code: ntfsresize /dev/mmcblk0p3 Not sure whether you need to make the samples partition writeable first. I would appreciate if you could test this (=is R/W a prereq) and feedback, so that I can complete the docs in a correct way. This is the first release with the samples on NTFS and this documentation omission escaped correction. I'm sorry for that and thank you for this feedback! Regards, Hans PS: the speed of your old PI may be a problem depending your use, in that case the "clicks & plops" FAQ becomes important. But first have fun getting to know this thing RE: Error When Trying to Resize Samples Partition - cforster - 12-06-21 That did the trick! Thanks so much. I could kick myself, I had seen the ntfsresize command when I was googling, but obviously hadn't tried it. I did need to unmount the partition, run ntsfsresize, and then I rebooted. I've since uploaded some samples, and gotten them to run, so all is well! And my needs are pretty modest, so this old Pi may just manage! For reference, her is a cut/paste of how it went: Quote:root@samplerbox:~# umount /dev/mmcblk0p3 I then rebooted and all was as expected---the partition had been expanded. I probably could have just remounted... but a reboot is so quick that I tend to reboot, and remove one more opportunity for error. Thanks so much for the help! Chris RE: Error When Trying to Resize Samples Partition - hansehv - 13-06-21 Hi Chris, I've updated the documentation, thanks for pointing this out and verifying correct way, Hans |