LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-30-2003, 12:43 AM   #1
cybrjackle
Member
 
Registered: Jul 2003
Distribution: Debian etch/lenny/sid, Fedora 7/Rawhide, CentOS 4/5, FreeBSD 6.2 and Solaris 10/Nevada
Posts: 110

Rep: Reputation: 16
LVM install in slackware?


Anyone know how to get LVM during the initial install?
 
Old 09-30-2003, 03:09 AM   #2
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 69
According to the package list in v9.1, lvm-1.0.7 is included, so I would think that if you just did a "Full" install, it would install automatically. What version are you running? -- J.W.
 
Old 09-30-2003, 09:44 AM   #3
cybrjackle
Member
 
Registered: Jul 2003
Distribution: Debian etch/lenny/sid, Fedora 7/Rawhide, CentOS 4/5, FreeBSD 6.2 and Solaris 10/Nevada
Posts: 110

Original Poster
Rep: Reputation: 16
Yes, LVM is there but it doesn't let you set it up from the initial install. I like to place /usr /opt /tmp /home and some other dir's under LVM. Normally I would do that durning the inital install. If I did it afterwards, I'm not quite sure how I would move those dir's over with out messing something up?

Does that make sence??
 
Old 10-01-2003, 05:08 PM   #4
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 69
Bro - yes I understand what you're saying. The basic series of steps is to first create your logical volume, then you define it as a file system, then mount it, then copy whatever data you want into it. This article is pretty old but it contains (hopefully) some useful info. http://www.freeos.com/articles/3921/

I'm not running Slack v9.1 myself and therefore I haven't tried to set LVM up under it, but I believe the basics should be the same. As I'm sure you know, for more in-depth info there is always the LDP: http://www.tldp.org/index.html -- J.W.
 
Old 10-01-2003, 05:26 PM   #5
cybrjackle
Member
 
Registered: Jul 2003
Distribution: Debian etch/lenny/sid, Fedora 7/Rawhide, CentOS 4/5, FreeBSD 6.2 and Solaris 10/Nevada
Posts: 110

Original Poster
Rep: Reputation: 16
So what you are suggesting is just do the inital install w/ say a 2GB /

Create my LVM when it is finished and then copy over /usr /opt blah blah blah?
 
Old 10-01-2003, 05:31 PM   #6
cybrjackle
Member
 
Registered: Jul 2003
Distribution: Debian etch/lenny/sid, Fedora 7/Rawhide, CentOS 4/5, FreeBSD 6.2 and Solaris 10/Nevada
Posts: 110

Original Poster
Rep: Reputation: 16
Oh,

Is there anything I have to worry about if I'm copying /usr /opt /var from under / to there own physical LVM mount point and slice? Any symlinks that might get confused if physical location are moved?
 
Old 10-01-2003, 07:02 PM   #7
wildefire
LQ Newbie
 
Registered: Jul 2003
Location: Texas
Posts: 4

Rep: Reputation: 0
i dont use lvm myself but..

I remembered reading something on comp.os.linux.slackware a few weeks ago about doing it out of the box, not as straightforward but here's a link with Chris Marshall's howto for 9.0

http://groups.google.com/groups?q=lv...gle.com&rnum=1
 
Old 10-01-2003, 08:02 PM   #8
linuxJaver
Member
 
Registered: Jul 2003
Location: Jakartax, ID
Distribution: slack9.1+,9.1,rh9
Posts: 203

Rep: Reputation: 30
This maybe can answer ur doubt ..

Supposed u want to have /opt on its own partition, then b4 setup u can create ur partition with cfdisk n tell setup to use that partition as /opt during setup, just create the ext2fs first, setup can detect them n ask u whether u wonna make them visible to for each linux partition it detected ..

So if wonna change a say /opt on root filesystem to another partition after installation then just create that partition, move /opt /opt-old, then mount -t ext2 /dev/hd-newpartition /opt
cp -dRp /opt-old/* /opt

Then it is done cleany, don't have to worry about physical thing .., I often deleted my /root and make a symbolic link to /mnt/other-slackware-root to prevent redudants ..

If not because of those diversities of the ".*-files" of the WM-resources, I even used the same root for all distro like I'd done with slw,rh,mdk ..

But now I found openmotif on 2nd CD, now am using it, look like I dun need other wm anymore, then I can use a single "root-dir" for them ..

Not every subdirectory in "/" is confortable to move to its own partition like /bin /sbin ..
 
  


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
Installing Slackware 10.2 on an LVM Partition darkarcon2015 Slackware - Installation 10 02-07-2006 05:19 PM
installing Slackware 10.2 w/ Kernel 2.6 and LVM alphahawk Slackware 4 12-05-2005 02:49 PM
LVM messages in Slackware satinet Slackware 2 11-25-2005 05:57 PM
How to install Fedora without LVM pembo13 Fedora 4 12-27-2004 03:44 PM
LVM, Slackware 8.1, Adaptec 3940UW, IBM harddrives dokhebi Linux - Software 3 01-03-2003 11:46 PM


All times are GMT -5. The time now is 06:46 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration