Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
|
02-28-2017, 02:28 PM
|
#31
|
LQ Newbie
Registered: Feb 2017
Posts: 23
Original Poster
Rep:
|
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
|
|
|
02-28-2017, 04:55 PM
|
#32
|
Senior Member
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
|
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 ...
Last edited by Rickkkk; 02-28-2017 at 04:57 PM.
|
|
|
02-28-2017, 05:21 PM
|
#33
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep:
|
It would have to be obvious for me to see it.
I'm not sure the OP isn't "tripping over a dollar to pick up a nickle."
3 pages in and key details are just showing up. Yak shaving is not my thing.
|
|
|
02-28-2017, 06:03 PM
|
#34
|
Moderator
Registered: Aug 2002
Posts: 26,340
|
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.
|
|
|
02-28-2017, 06:44 PM
|
#35
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep:
|
Quote:
Originally Posted by michaelk
There was a bit of an additional learning curve due to virtual machines.
|
Quote:
Originally Posted by fogpipe
The learning curve was more of a learning cliff
|
I recently 'went' LVM myself and to be honest, this would fsck me up too.
I rely on "If it's hard, I'm doing it wrong.". Can't speak to any one else.
Peace!
|
|
|
02-28-2017, 07:41 PM
|
#36
|
Senior Member
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
|
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 ...
Best !
Last edited by Rickkkk; 02-28-2017 at 07:47 PM.
|
|
|
03-01-2017, 08:00 AM
|
#37
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep:
|
This "situation" is a little kludgy IMO, and my suspicion is that is it implemented poorly.
Users are now trying to take things to a whole new level and this can only be good for the product or service.
Or Skill.
People have to learn somewhere and I can appreciate that.
I like the K.I.S.S. method because I over think everything, and just because I'm complicated, doesn't mean Linux
has to be. IMO.
No offense to the OP. I hope.
Good Luck.
|
|
|
All times are GMT -5. The time now is 12:26 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|