Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.setup > #2661
| From | Harry <simonsharry@gmail.com> |
|---|---|
| Newsgroups | comp.os.linux.setup |
| Subject | Re: No success repairing my ext4 file system so far, PLEASE HELP! |
| Date | 2012-04-16 20:19 -0700 |
| Organization | http://groups.google.com |
| Message-ID | <16442467.1765.1334632777969.JavaMail.geo-discussion-forums@pbbph3> (permalink) |
| References | (10 earlier) <f7adeb47-6f2a-4f76-98a0-7044ddaffa9c@t2g2000pbg.googlegroups.com> <e3ec60a2-0565-4a44-a9ca-9df28a0cf63f@iu9g2000pbc.googlegroups.com> <297ab19f-6e87-406b-b2b8-715ef4bc1ca3@jx17g2000pbb.googlegroups.com> <85a6427b-2346-45c4-a19e-fb702e728db8@k10g2000pbk.googlegroups.com> <jmhpgo$lc2$1@dont-email.me> |
On Tuesday, April 17, 2012 12:17:52 AM UTC+5:30, Doug Freyburger wrote: > Harry wrote: > > > > I would like to understand LVM and even regular partitioning more > > thoroughly. Would someone kindly suggest the smallest number of > > resources (books, links to online articles/tutorials, etc) that would > > teach me not just the commands but the concepts behind them. Anything > > and everything above the BIOS and assembly-language I would like to > > understand. For example, I won't want to understand the boot code in > > the first 446 bytes of MBR but everything else you guys know about > > partitioning and LVM. > > Partitioning takes an entire disk and divides it up into one or more > sub-disks. Then each sub-disk is used like it's a disk. You write an > MBR to make it bootable, a table of the partitions, then the first > partition starts. The software reads the partition tables and uses the > numbers as offsets to calculate block addresses inside each sub-disk. > There can be details about primary and extended partitions but that's > just more of the same. Those details don't change the simple concepts > and offset arithmetic of how partitions work. > > Paritions are formatted to contain file systems. Files live in file > systems. > > Logical volume manager takes one or more disks and puts them into a pool > rather like how virtual membery takes one or more memory module and puts > them together into a pool. The entire pool is then divided into extents > rather like how memory is divided into pages. There's a table of the > extents early on the disk rather like there's a table of the pages early > in the main memory. Then virtual disks are created out of the pool > (logical volumes) rather like process address spaces are created out of > the pages in main memory. > > Logical volumes are formatted to contain file systems. Files live in > file systems. > > It's the same concept mapped as physical slices one way, as a pool of > virtual extents the other way. > > The two layers do mix and match - It's possible to put either entire > drives or partitions into the volume group pool. Both levels work at > their own level. Your example showed a disk divided into a 250 MB > partition used to directly contain a file system (probably /boot) and > the rest in the second partition that formed a volume group. > > Those are the concepts. Each layer has its own tools. fdisk for > partitions. vgcreate/vgscan/vgextend/vgreduce/vgchange for volume > groups. lvcreate and the other lv* cmmands because that's the extra > layer of virtualization. Then both types return to the file system > tools like mkfs. Thanks. This is definitely a good high-level description. On Tuesday, April 17, 2012 12:17:52 AM UTC+5:30, Doug Freyburger wrote: > Harry wrote: > > > > I would like to understand LVM and even regular partitioning more > > thoroughly. Would someone kindly suggest the smallest number of > > resources (books, links to online articles/tutorials, etc) that would > > teach me not just the commands but the concepts behind them. Anything > > and everything above the BIOS and assembly-language I would like to > > understand. For example, I won't want to understand the boot code in > > the first 446 bytes of MBR but everything else you guys know about > > partitioning and LVM. > > Partitioning takes an entire disk and divides it up into one or more > sub-disks. Then each sub-disk is used like it's a disk. You write an > MBR to make it bootable, a table of the partitions, then the first > partition starts. The software reads the partition tables and uses the > numbers as offsets to calculate block addresses inside each sub-disk. > There can be details about primary and extended partitions but that's > just more of the same. Those details don't change the simple concepts > and offset arithmetic of how partitions work. > > Paritions are formatted to contain file systems. Files live in file > systems. > > Logical volume manager takes one or more disks and puts them into a pool > rather like how virtual membery takes one or more memory module and puts > them together into a pool. The entire pool is then divided into extents > rather like how memory is divided into pages. There's a table of the > extents early on the disk rather like there's a table of the pages early > in the main memory. Then virtual disks are created out of the pool > (logical volumes) rather like process address spaces are created out of > the pages in main memory. > > Logical volumes are formatted to contain file systems. Files live in > file systems. > > It's the same concept mapped as physical slices one way, as a pool of > virtual extents the other way. > > The two layers do mix and match - It's possible to put either entire > drives or partitions into the volume group pool. Both levels work at > their own level. Your example showed a disk divided into a 250 MB > partition used to directly contain a file system (probably /boot) and > the rest in the second partition that formed a volume group. > > Those are the concepts. Each layer has its own tools. fdisk for > partitions. vgcreate/vgscan/vgextend/vgreduce/vgchange for volume > groups. lvcreate and the other lv* cmmands because that's the extra > layer of virtualization. Then both types return to the file system > tools like mkfs. Thanks, Doug. What you wrote above should serve as a good conceptual overview. However, I'd still want to read a book or an online resource that explains things both conceptually and at a practitioner's level. Basically, I'd like to be able to troubleshoot my own problems. Here's one resource I found: http://docs.fedoraproject.org/en-US/Fedora/14/html/Storage_Administration_Guide/index.html But skimming thru it tells me that this won't cover concepts in detail; it uses GUI versions of various tools is another thing. I tend to like O'reilly style presentation/coverage of a topic, and, it seems, there's no (current) book by O'reilly on LVM2. If you/others know of a good O'reilly type of self-learning resource, I'd like to hear about it. Also, I'm hoping I'd be able to do hands on exercises in a virtualized environment (VirtualBox, Xen, etc). If you know of any good tutorial that uses such a setup to teach you LVM, please do share.
Back to comp.os.linux.setup | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
No success repairing my ext4 file system so far, PLEASE HELP! Harry <simonsharry@gmail.com> - 2012-04-12 03:29 -0700
Re: No success repairing my ext4 file system so far, PLEASE HELP! Richard Kettlewell <rjk@greenend.org.uk> - 2012-04-12 11:46 +0100
Re: No success repairing my ext4 file system so far, PLEASE HELP! Harry <simonsharry@gmail.com> - 2012-04-12 04:08 -0700
Re: No success repairing my ext4 file system so far, PLEASE HELP! Richard Kettlewell <rjk@greenend.org.uk> - 2012-04-12 12:36 +0100
Re: No success repairing my ext4 file system so far, PLEASE HELP! Harry <simonsharry@gmail.com> - 2012-04-12 05:25 -0700
Re: No success repairing my ext4 file system so far, PLEASE HELP! Richard Kettlewell <rjk@greenend.org.uk> - 2012-04-12 13:49 +0100
Re: No success repairing my ext4 file system so far, PLEASE HELP! Harry <simonsharry@gmail.com> - 2012-04-12 06:09 -0700
Re: No success repairing my ext4 file system so far, PLEASE HELP! Richard Kettlewell <rjk@greenend.org.uk> - 2012-04-12 19:18 +0100
Re: No success repairing my ext4 file system so far, PLEASE HELP! Harry <simonsharry@gmail.com> - 2012-04-12 11:49 -0700
Re: No success repairing my ext4 file system so far, PLEASE HELP! Doug Freyburger <dfreybur@yahoo.com> - 2012-04-12 18:27 +0000
Re: No success repairing my ext4 file system so far, PLEASE HELP! Doug Freyburger <dfreybur@yahoo.com> - 2012-04-12 18:51 +0000
Re: No success repairing my ext4 file system so far, PLEASE HELP! Harry <simonsharry@gmail.com> - 2012-04-12 12:12 -0700
Re: No success repairing my ext4 file system so far, PLEASE HELP! "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2012-04-12 17:15 -0400
Re: No success repairing my ext4 file system so far, PLEASE HELP! Harry <simonsharry@gmail.com> - 2012-04-12 20:30 -0700
Re: No success repairing my ext4 file system so far, PLEASE HELP! Harry <simonsharry@gmail.com> - 2012-04-13 06:58 -0700
Re: No success repairing my ext4 file system so far, PLEASE HELP! Harry <simonsharry@gmail.com> - 2012-04-13 07:13 -0700
Re: No success repairing my ext4 file system so far, PLEASE HELP! Robert Nichols <SEE_SIGNATURE@localhost.localdomain.invalid> - 2012-04-13 19:29 -0500
Re: No success repairing my ext4 file system so far, PLEASE HELP! Harry <simonsharry@gmail.com> - 2012-04-13 21:27 -0700
Re: No success repairing my ext4 file system so far, PLEASE HELP! Robert Nichols <SEE_SIGNATURE@localhost.localdomain.invalid> - 2012-04-14 07:58 -0500
Re: No success repairing my ext4 file system so far, PLEASE HELP! Harry <simonsharry@gmail.com> - 2012-04-14 06:35 -0700
Re: No success repairing my ext4 file system so far, PLEASE HELP! Robert Nichols <SEE_SIGNATURE@localhost.localdomain.invalid> - 2012-04-14 19:59 -0500
Re: No success repairing my ext4 file system so far, PLEASE HELP! Harry <simonsharry@gmail.com> - 2012-04-14 19:58 -0700
Re: No success repairing my ext4 file system so far, PLEASE HELP! Harry <simonsharry@gmail.com> - 2012-04-14 20:13 -0700
Re: No success repairing my ext4 file system so far, PLEASE HELP! Robert Nichols <SEE_SIGNATURE@localhost.localdomain.invalid> - 2012-04-15 15:14 -0500
Re: No success repairing my ext4 file system so far, PLEASE HELP! Harry <simonsharry@gmail.com> - 2012-04-16 02:39 -0700
Re: No success repairing my ext4 file system so far, PLEASE HELP! Robert Nichols <SEE_SIGNATURE@localhost.localdomain.invalid> - 2012-04-16 08:50 -0500
Re: No success repairing my ext4 file system so far, PLEASE HELP! Harry <simonsharry@gmail.com> - 2012-04-16 08:02 -0700
Re: No success repairing my ext4 file system so far, PLEASE HELP! Harry <simonsharry@gmail.com> - 2012-04-16 10:39 -0700
Re: No success repairing my ext4 file system so far, PLEASE HELP! Harry <simonsharry@gmail.com> - 2012-04-16 11:08 -0700
Re: No success repairing my ext4 file system so far, PLEASE HELP! Robert Nichols <SEE_SIGNATURE@localhost.localdomain.invalid> - 2012-04-16 15:58 -0500
Re: No success repairing my ext4 file system so far, PLEASE HELP! Harry <simonsharry@gmail.com> - 2012-04-16 23:02 -0700
Re: No success repairing my ext4 file system so far, PLEASE HELP! Robert Nichols <SEE_SIGNATURE@localhost.localdomain.invalid> - 2012-04-17 10:58 -0500
Re: No success repairing my ext4 file system so far, PLEASE HELP! Harry <simonsharry@gmail.com> - 2012-04-18 21:53 -0700
Re: No success repairing my ext4 file system so far, PLEASE HELP! Doug Freyburger <dfreybur@yahoo.com> - 2012-04-19 16:45 +0000
Re: No success repairing my ext4 file system so far, PLEASE HELP! Harry <simonsharry@gmail.com> - 2012-04-19 18:34 -0700
Re: No success repairing my ext4 file system so far, PLEASE HELP! Doug Freyburger <dfreybur@yahoo.com> - 2012-04-20 17:19 +0000
Re: No success repairing my ext4 file system so far, PLEASE HELP! Harry <simonsharry@gmail.com> - 2012-04-21 20:37 -0700
Re: No success repairing my ext4 file system so far, PLEASE HELP! Doug Freyburger <dfreybur@yahoo.com> - 2012-04-25 16:01 +0000
Re: No success repairing my ext4 file system so far, PLEASE HELP! Harry <simonsharry@gmail.com> - 2012-04-28 16:32 -0700
Re: No success repairing my ext4 file system so far, PLEASE HELP! Doug Freyburger <dfreybur@yahoo.com> - 2012-04-16 19:15 +0000
Re: No success repairing my ext4 file system so far, PLEASE HELP! Harry <simonsharry@gmail.com> - 2012-04-16 21:20 -0700
Re: No success repairing my ext4 file system so far, PLEASE HELP! Harry <simonsharry@gmail.com> - 2012-04-13 21:40 -0700
Re: No success repairing my ext4 file system so far, PLEASE HELP! Harry <simonsharry@gmail.com> - 2012-04-13 21:56 -0700
Re: No success repairing my ext4 file system so far, PLEASE HELP! Doug Freyburger <dfreybur@yahoo.com> - 2012-04-16 18:47 +0000
Re: No success repairing my ext4 file system so far, PLEASE HELP! Harry <simonsharry@gmail.com> - 2012-04-16 20:19 -0700
Re: No success repairing my ext4 file system so far, PLEASE HELP! unruh <unruh@invalid.ca> - 2012-04-13 15:22 +0000
Re: No success repairing my ext4 file system so far, PLEASE HELP! J G Miller <miller@yoyo.ORG> - 2012-04-13 17:13 +0000
Re: No success repairing my ext4 file system so far, PLEASE HELP! Harry <simonsharry@gmail.com> - 2012-04-13 21:58 -0700
Re: No success repairing my ext4 file system so far, PLEASE HELP! unruh <unruh@invalid.ca> - 2012-04-12 15:50 +0000
Re: No success repairing my ext4 file system so far, PLEASE HELP! The Natural Philosopher <tnp@invalid.invalid> - 2012-04-12 21:37 +0100
Re: No success repairing my ext4 file system so far, PLEASE HELP! unruh <unruh@invalid.ca> - 2012-04-12 15:46 +0000
Re: No success repairing my ext4 file system so far, PLEASE HELP! Harry <simonsharry@gmail.com> - 2012-04-12 09:35 -0700
Re: No success repairing my ext4 file system so far, PLEASE HELP! unruh <unruh@invalid.ca> - 2012-04-12 18:57 +0000
Re: No success repairing my ext4 file system so far, PLEASE HELP! Doug Freyburger <dfreybur@yahoo.com> - 2012-04-12 15:59 +0000
Re: No success repairing my ext4 file system so far, PLEASE HELP! unruh <unruh@invalid.ca> - 2012-04-12 16:39 +0000
Re: No success repairing my ext4 file system so far, PLEASE HELP! Harry <simonsharry@gmail.com> - 2012-04-12 09:53 -0700
Re: No success repairing my ext4 file system so far, PLEASE HELP! unruh <unruh@invalid.ca> - 2012-04-12 19:03 +0000
Re: No success repairing my ext4 file system so far, PLEASE HELP! Harry <simonsharry@gmail.com> - 2012-04-12 09:48 -0700
Re: No success repairing my ext4 file system so far, PLEASE HELP! unruh <unruh@invalid.ca> - 2012-04-12 19:07 +0000
Re: No success repairing my ext4 file system so far, PLEASE HELP! Richard Kettlewell <rjk@greenend.org.uk> - 2012-04-12 18:43 +0100
Re: No success repairing my ext4 file system so far, PLEASE HELP! Harry <simonsharry@gmail.com> - 2012-04-12 10:55 -0700
Re: No success repairing my ext4 file system so far, PLEASE HELP! Doug Freyburger <dfreybur@yahoo.com> - 2012-04-12 18:07 +0000
Re: No success repairing my ext4 file system so far, PLEASE HELP! Richard Kettlewell <rjk@greenend.org.uk> - 2012-04-12 19:20 +0100
Re: No success repairing my ext4 file system so far, PLEASE HELP! unruh <unruh@invalid.ca> - 2012-04-12 19:11 +0000
Re: No success repairing my ext4 file system so far, PLEASE HELP! Richard Kettlewell <rjk@greenend.org.uk> - 2012-04-12 20:39 +0100
Re: No success repairing my ext4 file system so far, PLEASE HELP! Doug Freyburger <dfreybur@yahoo.com> - 2012-04-13 16:50 +0000
Re: No success repairing my ext4 file system so far, PLEASE HELP! Harry <simonsharry@gmail.com> - 2012-04-13 21:24 -0700
Re: No success repairing my ext4 file system so far, PLEASE HELP! Doug Freyburger <dfreybur@yahoo.com> - 2012-04-16 19:04 +0000
Re: No success repairing my ext4 file system so far, PLEASE HELP! Harry <simonsharry@gmail.com> - 2012-04-16 21:44 -0700
Re: No success repairing my ext4 file system so far, PLEASE HELP! unruh <unruh@invalid.ca> - 2012-04-17 17:18 +0000
Re: No success repairing my ext4 file system so far, PLEASE HELP! Harry <simonsharry@gmail.com> - 2012-04-17 18:41 -0700
Re: No success repairing my ext4 file system so far, PLEASE HELP! unruh <unruh@invalid.ca> - 2012-04-12 19:09 +0000
Re: No success repairing my ext4 file system so far, PLEASE HELP! Harry <simonsharry@gmail.com> - 2012-04-12 10:46 -0700
Re: No success repairing my ext4 file system so far, PLEASE HELP! unruh <unruh@invalid.ca> - 2012-04-12 19:13 +0000
Re: No success repairing my ext4 file system so far, PLEASE HELP! Harry <simonsharry@gmail.com> - 2012-04-12 12:21 -0700
Re: No success repairing my ext4 file system so far, PLEASE HELP! unruh <unruh@invalid.ca> - 2012-04-12 20:12 +0000
Re: No success repairing my ext4 file system so far, PLEASE HELP! g.fink@gmx.net (Gernot Fink) - 2012-04-12 18:20 +0000
Re: No success repairing my ext4 file system so far, PLEASE HELP! The Natural Philosopher <tnp@invalid.invalid> - 2012-04-12 21:35 +0100
Re: No success repairing my ext4 file system so far, PLEASE HELP! Harry <simonsharry@gmail.com> - 2012-04-19 06:43 -0700
Re: No success repairing my ext4 file system so far, PLEASE HELP! Bob <SEE_SIGNATURE@localhost.localdomain.invalid> - 2012-04-19 11:29 -0500
Re: No success repairing my ext4 file system so far, PLEASE HELP! Harry <simonsharry@gmail.com> - 2012-04-19 18:50 -0700
csiph-web