LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 11-04-2016, 09:33 PM   #16
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 2,959

Rep: Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268

You can use the lsblk command to get a concise listing of your disks, partitions, LVM volumes, and what is where.

There are many options for creating Informix chunks. I have basically no knowledge there, but a quick search for "informix" and "chunk" leads here.
 
Old 11-08-2016, 01:49 AM   #17
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Code:
 Disk /dev/sdc doesn't contain a valid partition table
So, /dev/sdc is an unformatted disk.

If you want to create normal (not LVM based) partitions, you'd use the fdisk cmd to partition the disk, then mkfs.ext4 to put an ext4 filesystem on each partition.

For LVM based, you'd create one partition across the whole disk using fdisk, the use pvcreate to add it to the vg (assuming you want to stick with one vg), then vgextend http://tldp.org/HOWTO/LVM-HOWTO/addpvstovg.html to add pv in, then lvcreate, then finally mkfs.ext4 on the Lv eg https://access.redhat.com/documentat...pnfs-HAAA.html

Try linuxtopia.org for a LOT of online readable manuals; this one is for you http://www.linuxtopia.org/online_boo...l_6_lvm_admin/
HTH
 
Old 11-08-2016, 09:39 AM   #18
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 2,959

Rep: Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268
Quote:
Originally Posted by chrism01 View Post
Code:
 Disk /dev/sdc doesn't contain a valid partition table
So, /dev/sdc is an unformatted disk.
Not necessarily. All that is known from that is that it is not partitioned. That's the danger of putting a filesystem or an LVM volume directly on an unpartitioned device. You can get fooled into thinking that the device is unformatted and unused.
 
Old 11-08-2016, 11:22 AM   #19
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 7,151

Rep: Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203
In my humble, you should always use LVM, even on "your own" machine. And you'll thank me for it, the moment that your main drive does begin to run out of space. (It's a very difficult situation to get out of ...)

The concept of LVM is extremely simple: a Linux "mount point," such as /usr, now does not correspond to "a single physical device." Rather, it refers to what's called a logical volume.

Physically, the contents of that logical volume may be spread over many different devices ... and you can safely shuffle things around without rebooting the computer.

Each physical device is placed into a "storage pool," and that "storage pool" is associated with a logical volume. The operating system (except within the LVM layer itself) is not aware that it is accessing multiple physical devices when it accesses what it perceives to be "a single, seamless, uninterrupted region of available storage."

It's simple (although the commands are strange), and it works very well. It becomes very simple to add storage, and to deal with a hardware device that is beginning to "(click, click ...) (click, click ...) (click, click ...)."

Last edited by sundialsvcs; 11-08-2016 at 11:23 AM.
 
Old 11-08-2016, 10:53 PM   #20
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Sorry; mind freeze there; I meant unpartitioned of course ...
 
  


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
Where is /dev/mapper? Swift&Smart Fedora 1 12-08-2007 03:09 AM
newbie question /dev/mapper/lfs-cd echnat0n Linux From Scratch 2 03-05-2007 08:05 AM
FC5 couldn't boot due to problems with the filesystems in /dev/VolGroup00/LogVol00 Iltbreg Fedora 2 11-01-2006 08:20 PM
/dev/mapper directory joshnya Linux - Newbie 11 09-15-2005 04:09 AM
Adding Labels To /dev/VolGroup00/LogVol00 bplimpton Linux - Enterprise 2 05-09-2005 12:34 PM


All times are GMT -5. The time now is 02:05 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration