We are moving! New user registrations to this forum is now closed. Posting here will be disabled eventually. Please go to the new community for your Snakeoil OS support and other discussions. (June 03)

New community website: https://community.snakeoil-os.net (June 03)

Join us in the new community by Creating a new account. (June 04)


[SOLVED] Set up disk
#1
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.

[Image: image.png]
 Go to solution Reply

#2
(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.

[Image: image.png]
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?
Code:
sudo lvs
Snakeoil Operating System - Music, your way!
Reply

#3
Here you go. Thanks, James

[Image: image.png]
Reply

#4
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.
Snakeoil Operating System - Music, your way!
Reply

#5
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? 


[Image: image.png]
Reply

#6
Can you run
Code:
sudo lvdisplay
and show me the output?
Snakeoil Operating System - Music, your way!
Reply

#7
[Image: image.png]
Reply

#8
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
Snakeoil Operating System - Music, your way!
Reply

#9
Looks like something worked. Do I have to mount a drive now?


[Image: image.png]
Reply

#10
(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:
[Image: lvm-mount.jpg]
Snakeoil Operating System - Music, your way!
[-] The following 1 user Likes agent_kith's post:
  • greenman61
Reply



Bookmarks

Possibly Related Threads…
Thread Author Replies Views Last Post
  Question about RAM Disk justme 6 748 28-Jan-2025, 10:01 AM
Last Post: agent_kith
  Persistent RAM disk? emptor 18 7,618 31-Mar-2022, 08:22 PM
Last Post: agent_kith
  RAM disk vs large Squeezelite buffer? koko6969koki 17 8,385 28-Apr-2020, 09:35 AM
Last Post: agent_kith
  [SOLVEDProblem with mounting disk c.trung 2 4,873 05-Jun-2016, 12:09 PM
Last Post: c.trung



Users browsing this thread:
1 Guest(s)

[-]
Our Sponsors

[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Latest Threads
Android Firefox issues with forum
Last Post: agent_kith
10-Jun-2025 04:45 PM
» Replies: 21
» Views: 1336
[split] Possible To Load Snakeoil OS in ...
Last Post: Snoopy8
09-Jun-2025 06:43 AM
» Replies: 14
» Views: 1018
Snakeoil 1.4.3 (High End U3)
Last Post: hkphantomgtr
05-Jun-2025 03:58 PM
» Replies: 67
» Views: 6588
Snakeoil with Ubuntu Desktop ?
Last Post: Snoopy8
02-Jun-2025 09:38 AM
» Replies: 8
» Views: 621
Add IR remote control using Flirc USB in...
Last Post: Snoopy8
31-May-2025 03:50 PM
» Replies: 5
» Views: 447
Work In Progress: 1.4.4
Last Post: hkphantomgtr
29-May-2025 11:44 PM
» Replies: 44
» Views: 3606
SQ difference - Raspberry Pi vs x86_64?
Last Post: Snoopy8
27-May-2025 02:16 PM
» Replies: 42
» Views: 3914
Snakeoil 1.4.0 (High End)
Last Post: aabman
25-May-2025 11:35 AM
» Replies: 93
» Views: 11586
new install issues
Last Post: carlodim
23-May-2025 09:56 AM
» Replies: 42
» Views: 2980
Is this project still alive?
Last Post: agent_kith
20-May-2025 03:11 PM
» Replies: 10
» Views: 793

[-]
SnakeoilOS Mission Statement

Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.

SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.

If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.


Powered By MyBB, © 2002-2025. Theme © Melroy van den Berg.