Hi Everyone,
I have just installed Snakeoil, but don't seem to be able to see all of my 1TB SSD drive. When installing I Selected to use Entire Disk (930gb) and to set the disk up as an LVM disk (defaults).
A snip of mounted partitions is below. I want to use the rest of the disk (approx 830gb as my music folder) so how do I do this? I found this link
https://www.cyberciti.biz/faq/linux-moun...n-command/ about Linux mount on an LVM volume, perhaps this is what I have to do? Also, I read the wiki about converting Snankeoil to NAS but doesn't make much sense to a Linux novice. I think the rest of the drive is Partition 3.
(28-Mar-2022, 01:25 PM)greenman61 Wrote: [ -> ]Hi Everyone,
I have just installed Snakeoil, but don't seem to be able to see all of my 1TB SSD drive. When installing I Selected to use Entire Disk (930gb) and to set the disk up as an LVM disk (defaults).
A snip of mounted partitions is below. I want to use the rest of the disk (approx 830gb as my music folder) so how do I do this? I found this link https://www.cyberciti.biz/faq/linux-moun...n-command/ about Linux mount on an LVM volume, perhaps this is what I have to do? Also, I read the wiki about converting Snankeoil to NAS but doesn't make much sense to a Linux novice. I think the rest of the drive is Partition 3.
My automatic "block device discoverer" didn't cater for LVM volumes. Can you SSH to your Snakeoil PC, run the following and finally show me the output?
Here you go. Thanks, James
Seems you only have a 100G volume out of your 1TB SSD. Meaning ~900GB is unused?
Ideally, I would do this during the OS installation, but you can still use the command lines to create additional volumes, see guides like
this.
Note the WebApp only recognise block devices in the form of "/dev/sd?", and not volumes. So you'll need to manually enter the volume paths in the media text box.
I have a ticket for adding LVM detection in the WebApp, this will be added in the next update.
Let me know how it goes.
Thanks for the response. I had a look at the document and tried some commands. Still can't figure out how to make the 930gb visible so I can use it. Perhaps I should re-install and de-select LVM? Would that work?
Hopefully this'll work. Try running this
Code:
sudo lvcreate --name music -l 100%FREE ubuntu-vg
Hopefully they're no errors, and run both these commands and see if this extra volume is now created.
Code:
sudo lvs
sudo lvdisplay
Looks like something worked. Do I have to mount a drive now?
(29-Mar-2022, 01:36 PM)greenman61 Wrote: [ -> ]Looks like something worked. Do I have to mount a drive now?
Have to format it first. The following will format it to a ext4 file system:
Code:
sudo mkfs.ext4 /dev/ubuntu-vg/music
And once done, go to media library, and just mount "/dev/ubuntu-vg/music" without any extra options, click save and things should work: