Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
Rep:
Quote:
Originally Posted by oguruma
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 8G 0 disk
├─sda1 8:1 0 487M 0 part /boot
├─sda2 8:2 0 1K 0 part
└─sda5 8:5 0 7.5G 0 part
├─nextcloud--vg-root 252:0 0 5.5G 0 lvm /
└─nextcloud--vg-swap_1 252:1 0 2G 0 lvm [SWAP]
sdb 8:16 0 500G 0 disk
sr0 11:0 1 1024M 0 rom
sr1 11:1 1 1024M 0 rom
oguruma .. I admit to being at a bit of a loss here ... You mentioned in your first post that your system had a 120GB SSD drive and a 2 TB secondary drive. You wanted to use the 2 TB drive for various needs, including as a backup destination and to hold a VM you wished to set up to run a web server (nextcloud).
What I am seeing above are one physical 8 GB drive (?) divided into 3 partitions, the largest (7.5 GB) of which is divided into 2 volume groups of 5.5 GB (root) and 2.5GB (swap), and another physical 500GB drive, currently with no partitions at all.
If I am reading this correctly, please explain, otherwise ... please explain.
Others here (michaelk, habitual ... ? ) ... please chime in if I'm missing something obvious and you feel you can better help our friend oguruma ...
There was a bit of an additional learning curve due to virtual machines.
sda1 is /boot
sda2 is an extended partition that contains sda5 which is a LVM
The LVM contains a root and swap VG.
sdb is additional virtual disk and has not been partitioned yet.
The OP wanted an additional 500GB to use as a data drive. You can use gparted to create a partition table, partitions and then format as desired. You can mount it where ever and add it to the /etc/fstab just like you did with the 2TB physical disk. If you want to add space to your existing /(root) that requires some additional steps.
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
Rep:
Quote:
Originally Posted by michaelk
There was a bit of an additional learning curve due to virtual machines.
sda1 is /boot
sda2 is an extended partition that contains sda5 which is a LVM
The LVM contains a root and swap VG.
sdb is additional virtual disk and has not been partitioned yet.
The OP wanted an additional 500GB to use as a data drive. You can use gparted to create a partition table, partitions and then format as desired. You can mount it where ever and add it to the /etc/fstab just like you did with the 2TB physical disk. If you want to add space to your existing /(root) that requires some additional steps.
... Is all of this WITHIN the VM ? Otherwise, I'm still lost and of absolutely NO use to the OP ... :-( ... Even if it is within the VM, I can't for the life of me figure out what the strategy is there ...
... I apologize, oguruma ... I think I'll have to bow out here. I don't think I've been much help up until now and I'm not sure I'll be very useful going forward .. I'm rather lost with respect to how you seem to have set things up. I'll leave you in the more capable hands of some of the other fine folks here ...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.