Linux LVM users
 help / color / mirror / Atom feed
From: Patrick Boutilier <boutilpj@ednet.ns.ca>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] 2 LVM questions
Date: Fri, 20 Jul 2001 11:38:24 -0300	[thread overview]
Message-ID: <3B584260.6060204@ednet.ns.ca> (raw)
In-Reply-To: 200107201334.QAA26563@easymail.hol.gr

What I would do is:

1. Create a Volume group using the 2 unused hard disks.
2. Create a file system on the new Logical volume
3. Copy your /var directory to the new filesystem mounted as /var2 
(shutdown Mysql first so the data is clean).
4. Move /var to /var3 (mv /var /var3)
5. Mount new file system as /var

When you are satisfied that everything is working on LVM fine you can 
then delete the partition that /var3 is on (old /var) and use it to 
extend your logical volume.



moka@hol.gr wrote:

>Hi there, new to LVM, so I would appreciate if you can 
>point me to answers to these questions:
>
>1) I have a system with 3 hard disks, and only one of 
>them is presently used. This contains boot, root and 
>swap plus a logical  partition(not LVM) containing
>/var and /home.
>
>I have big database tables, so I would like
> to create one volume group consisting of the 2
> unused disks plus the /var. Is this possible
> without losing what is in /var?
>2) The reason I need  a lot of space is that mysql
>  which I am using stores the database tables in /var.
> Can I somehow "name" the volume group /var
>  so that mysql will not be confused?
>
>Thanks in advance,
>S.Alexiou
>
>_______________________________________________
>linux-lvm mailing list
>linux-lvm@sistina.com
>http://lists.sistina.com/mailman/listinfo/linux-lvm
>read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>

  parent reply	other threads:[~2001-07-20 14:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-20 13:34 [linux-lvm] 2 LVM questions moka
2001-07-20 14:20 ` lembark
2001-07-20 14:28 ` Eric M. Hopper
2001-07-20 14:38 ` Patrick Boutilier [this message]
2001-07-20 15:34 ` Joe Thornber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3B584260.6060204@ednet.ns.ca \
    --to=boutilpj@ednet.ns.ca \
    --cc=linux-lvm@sistina.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox