LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-02-2021, 02:06 PM   #61
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486

don't know, I am on fedora at present and always used RH based systems. I have never needed to install man on anything I have used in the past 30 years. You might open a new thread for help on that.

I suspect that is a minimal installed system and likely does not have the docs installed by default.

Last edited by computersavvy; 01-02-2021 at 02:07 PM.
 
Old 01-02-2021, 02:10 PM   #62
CJBIII
Member
 
Registered: Dec 2020
Location: Oak Lawn, IL
Distribution: openmediavault5, debian
Posts: 41

Original Poster
Rep: Reputation: Disabled
https://youtu.be/scMkYQxBtJ4

This is a tutorial by Chris Titus about LVM and it seems to explain this very well. Sorry about the link if that is a faux pax. I am a visual learner and I have to combine reading with seeing something demonstrated and I am in a linux desert in my area.

I see that I have to partition first (gparted), then create physical volumes, volume group and then logical volumes and then the filesystem. What could go wrong? lol

Already posted in the forum about the man pages and am waiting
 
Old 01-02-2021, 02:13 PM   #63
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486
to use watch this command would work
Code:
 watch -n 30 "cat /proc/mdstat"
would give you an update every 30 seconds. or change the number after the -n if you wanted a different interval (in seconds)
 
Old 01-02-2021, 03:47 PM   #64
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486
That video has a lot of detail in 20 minute so the only comments I have are:

He did not talk about creating a VG nor an LV but his display was adding a PV to the existing Vg and extending the existing LV and the commands are a bit different.


The name of the array to partition it will be /dev/md0 and the partition to create will become /dev/md01.
Code:
 gparted /dev/md0
The name of the physical device when you create the PV will be the raid array partition /dev/md01.
Code:
pvcreate /dev/md01
now pvscan will return the pvname to use in the next command.

You will then need to create the VG. (the -v makes it verbose) Insert your chosen vgname and use the pvname returned by pvscan above.
Code:
 vgcreate -v vgname pvname
now vgscan will return the vgname to use in the next command.

Now create your LV to hold the data
-L allows specifying the size of the volume in units. Change the value as you see fit.
-ay = activate yes (to make it immediately active)
-v = verbose
everything else is standard and automatic.
You need to fill in the name of the VG you created earlier and the new lvname you want to use.
Code:
lvcreate -L 1000G /dev/vgname -ay -v lvname
Now lvscan will return the lvname to use for creating the filesystem

Code:
mkfs.ext4 lvname
formats the LV as ext4 so it is ready to use.

At this point things are ready to mount the LV and start using it.

EDIT:
I noted you are minimal install so instead of gparted use fdisk instead to create the partition.

Last edited by computersavvy; 01-02-2021 at 04:55 PM.
 
1 members found this post helpful.
Old 01-02-2021, 06:34 PM   #65
CJBIII
Member
 
Registered: Dec 2020
Location: Oak Lawn, IL
Distribution: openmediavault5, debian
Posts: 41

Original Poster
Rep: Reputation: Disabled
Check your email please
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] added a couple of new disks and now /dev/sd* disks are all messed up nass Linux - Hardware 4 10-30-2012 10:16 AM
[SOLVED] RAID 5 with 4 hard disks... array started with only 3 out of 4 disks kikinovak Slackware 9 08-11-2012 06:33 AM
[SOLVED] What implications does it have now that IDE disks are seen as "scsi" disks? harryhaller Slackware 8 03-28-2011 07:54 AM
Hardware & Software Q...replaced NIC with same card but....long cbjhawks Linux - Hardware 7 02-11-2010 03:34 AM
Raid Problem Fedora Core 3, RAID LOST DISKS ALWAYS icatalan Linux - Hardware 1 09-17-2005 03:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration