Ted Leung on the air : LVM

Ted Leung on the air
Ted Leung on the air: Open Source, Java, Python, and ...
2004年8月04日
LVM
The server that we store our digital photos on ran out of space, so I had to slap another hard drive into the machine. While I was at it, I turned on Logical Volume Manger (LVM) support, so that this will be slightly less painful the next time this happens. I had already compiled LVM support into the kernel (2.6.5), so all I needed to do was install Debian's lvm2 package and follow the directions in the LVM-HOWTO. It turned out to be much less painful than I anticipated.
[00:16] | [computers/operating_systems/linux/debian] | # | TB | F | G | 4 Comments | Other blogs commenting on this post
When I suggested using LVM on a new server last night I was boo'ed down and told that all the cool kids are using EVMS these days.
Posted by kellan at Wed Aug 4 10:12:04 2004

I'll keep an eye on EVMS, but I'm not enthused about stuff that hasn't made it into the mainline kernel, and the page says that you need patches.

I've got the same problem with User Mode Linux, although there's an effort to get the version in the kernel working again.
Posted by
Ted Leung at Wed Aug 4 23:06:33 2004

Hi, I have a question about using lvm2 on Debian and was hoping you could help me. I installed Debian 3.1 with kernel version 2.6.8, then used apt to install lvm2. What I'm trying to do is pool a couple of different hard drives together for more storage and mount it under /var. However, I have not been able to get Debian to detect and load the lvm by itself. In other words, after logging in, I have to stop all services accessing /var, run 'vgscan' to detect the lvm, then run 'vgchange -a y' to activate it, mount it to /var, then restart all services. As I'm sure you can imagine, this is a very tedious process because I reboot a couple of times daily as I'm still learning and playing with Linux (I'm fairly new to Linux, been using it less than 6 months). In order to try and get debian to mount it properly, I've experimented with placing the above commands into different files around my install. I've edited my fstab file to mount the lvm in the appropriate location and tried placing them at the top of bootmisc.sh as well as mountall.sh, both with fairly dire consequences -> the system can't boot. I can recover easily enough with my Knoppix cd, but this problem has almost beaten me into submission. I don't want to have to go back to Windows. I want it to just mount the logical volumes and then start the services that access them. Do you have any ideas? Thanks.
Posted by
Matthew Picklesimer at Tue Nov 29 01:58:38 2005

Matthew,

This sounds like a problem with the kernel to me. You shouldn't have to do what you are doing to detect lvm.
Posted by
Ted Leung at Tue Nov 29 23:06:29 2005

You can subscribe to an RSS feed of the comments for this blog: RSS Feed for comments

Add a comment here:

You can use some HTML tags in the comment text:
To insert a URI, just type it -- no need to write an anchor tag.
Allowable html tags are: <a href>, <em>, <i>, <b>, <blockquote>, <br/>, <p>, <code>, <pre>, <cite>, <sub> and <sup>.

You can also use some Wiki style:
URI => [uri title]
<em> => _emphasized text_
<b> => *bold text*
Ordered list => consecutive lines starting spaces and an asterisk

Name:


E-mail:


URL:


Comment:


Remember my info?


twl JPG

About

Ted Leung FOAF Explorer

I work at the Open Source Applications Foundation (OSAF).
The opinions expressed here are entirely my own, not those of my employer.

Creative Commons License
This work is licensed under a Creative Commons License.

Now available!
Professional XML Development with Apache Tools : Xerces, Xalan, FOP, Cocoon, Axis, Xindice
Technorati Profile
PGP Key Fingerprint
My del.icio.us Bookmarks
My Flickr Photos


Syndicate
RSS 2.0 xml GIF
Comments (RSS 2.0) xml GIF
Atom 0.3 feed
Feedburner'ed RSS feed

< August 2004 >
Su Mo Tu We Th Fr Sa
29 30 31

Archives
2006
2005
2004
2003

Articles
Macintosh Tips and Tricks

Search
Blogs nearby
geourl PNG

Categories
/ (1567)
books/ (33)
computers/ (62)
hardware/ (15)
internet/ (58)
mail/ (11)
microcontent/ (58)
weblogs/ (174)
pyblosxom/ (36)
www/ (25)
open_source/ (145)
asf/ (53)
osaf/ (32)
chandler/ (35)
cosmo/ (1)
operating_systems/ (16)
linux/ (9)
debian/ (15)
ubuntu/ (2)
macosx/ (101)
tips/ (25)
windows_xp/ (4)
programming/ (156)
clr/ (1)
dotnet/ (13)
java/ (71)
eclipse/ (22)
lisp/ (34)
python/ (86)
smalltalk/ (4)
xml/ (18)
research/ (1)
security/ (4)
wireless/ (1)
culture/ (10)
film/ (8)
music/ (6)
education/ (13)
family/ (17)
gadgets/ (24)
misc/ (47)
people/ (18)
photography/ (25)
pictures/ (12)
places/ (3)
us/ (0)
wa/ (2)
bainbridge_island/ (17)
seattle/ (13)
skating/ (6)
society/ (20)



[Valid RSS]

del.icio.us linkblog

www.flickr.com

Blogroll

java.blogs
Listed on BlogShares


Where are visitors to this page?


pyblosxom GIF

AltStyle によって変換されたページ (->オリジナル) /