Re: Adding a new HDD - how do I move /var/lib/mysql ?

2007-01-15 Thread Abu Zaher
On 1/14/07, Abu Zaher [EMAIL PROTECTED] wrote: My question is slightly related to this post, so I'm posting it here. I'm currently running my Sid on a 40GB hdd which is running out of life, In a few days I'll buy a new 80GB. Now what is the best way 2 dump my whole / to my hdd so that I can

Re: Adding a new HDD - how do I move /var/lib/mysql ?

2007-01-14 Thread Andy Smith
On Sun, Jan 14, 2007 at 11:34:02AM +0600, Abu Zaher wrote: My question is slightly related to this post, so I'm posting it here. I'm currently running my Sid on a 40GB hdd which is running out of life, In a few days I'll buy a new 80GB. Now what is the best way 2 dump my whole / to

Re: Adding a new HDD - how do I move /var/lib/mysql ?

2007-01-14 Thread Douglas Tutty
On Sun, Jan 14, 2007 at 11:34:02AM +0600, Abu Zaher wrote: My question is slightly related to this post, so I'm posting it here. I'm currently running my Sid on a 40GB hdd which is running out of life, In a few days I'll buy a new 80GB. Now what is the best way 2 dump my whole / to my hdd so

Re: Adding a new HDD - how do I move /var/lib/mysql ?

2007-01-13 Thread Cameron L. Spitzer
[This message has also been posted to linux.debian.user.] In article [EMAIL PROTECTED], Roberto C. Sanchez wrote: On Wed, Jan 10, 2007 at 02:46:29PM -0500, Kevin Mark wrote: probably the simplest way is to just make a new /var on the new drive and move all of it there. -add new HD to computer

Re: Adding a new HDD - how do I move /var/lib/mysql ?

2007-01-13 Thread Abu Zaher
My question is slightly related to this post, so I'm posting it here. I'm currently running my Sid on a 40GB hdd which is running out of life, In a few days I'll buy a new 80GB. Now what is the best way 2 dump my whole / to my hdd so that I can boot and do all my stuff from that hdd? I mean the

Re: Adding a new HDD - how do I move /var/lib/mysql ?

2007-01-11 Thread hendrik
On Wed, Jan 10, 2007 at 10:20:57PM -0800, Marc Shapiro wrote: -Original Message- Ln -s /var/lib/mysql /mnt/hdx/mysql Shouldn't the last line be replaced with: ln -s /mnt/hdx/mysql /var/lib/mysql Although I would actually do: cd /var/lib ln -s /mnt/hdx/mysql

Re: Adding a new HDD - how do I move /var/lib/mysql ?

2007-01-11 Thread Andrei Popescu
On Thu, 11 Jan 2007 09:02:02 -0500 [EMAIL PROTECTED] wrote: On Wed, Jan 10, 2007 at 10:20:57PM -0800, Marc Shapiro wrote: -Original Message- Ln -s /var/lib/mysql /mnt/hdx/mysql Shouldn't the last line be replaced with: ln -s /mnt/hdx/mysql /var/lib/mysql Although

RE: Adding a new HDD - how do I move /var/lib/mysql ?

2007-01-11 Thread James Stevenson
-Original Message- From: Andrei Popescu [mailto:[EMAIL PROTECTED] Sent: 11 January 2007 16:15 To: debian-user@lists.debian.org Subject: Re: Adding a new HDD - how do I move /var/lib/mysql ? On Thu, 11 Jan 2007 09:02:02 -0500 [EMAIL PROTECTED] wrote: On Wed, Jan 10, 2007

Re: Adding a new HDD - how do I move /var/lib/mysql ?

2007-01-11 Thread hendrik
On Thu, Jan 11, 2007 at 06:14:44PM +0200, Andrei Popescu wrote: On Thu, 11 Jan 2007 09:02:02 -0500 [EMAIL PROTECTED] wrote: So the effect of ln is the same as cp, except that no copy is made. Not really. If you make a link (soft or hard) you get one file/dir with two names and/or

Re: Adding a new HDD - how do I move /var/lib/mysql ?

2007-01-11 Thread Andrei Popescu
On Thu, 11 Jan 2007 14:33:45 -0500 [EMAIL PROTECTED] wrote: On Thu, Jan 11, 2007 at 06:14:44PM +0200, Andrei Popescu wrote: On Thu, 11 Jan 2007 09:02:02 -0500 [EMAIL PROTECTED] wrote: So the effect of ln is the same as cp, except that no copy is made. Not really. If you make a

Adding a new HDD - how do I move /var/lib/mysql ?

2007-01-10 Thread Justin Hartman
I currently have a server with an 80GB hdd which is running out of space very quickly. I want to now add a 250GB hdd in addition to the 80GB one and move my mysql data to this new 250GB drive. I am running mysql-5.0.30 on Etch which was installed via apt-get so there has been no modifications

Re: Adding a new HDD - how do I move /var/lib/mysql ?

2007-01-10 Thread Kevin Mark
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Jan 10, 2007 at 09:31:31PM +0200, Justin Hartman wrote: I currently have a server with an 80GB hdd which is running out of space very quickly. I want to now add a 250GB hdd in addition to the 80GB one and move my mysql data to this new

Re: Adding a new HDD - how do I move /var/lib/mysql ?

2007-01-10 Thread Justin Hartman
It's worth a bash! Thanks, I'll try this out in the next few days and let you know if there were any modifications to your suggestion. Regards Justin On 1/10/07, Kevin Mark [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Jan 10, 2007 at 09:31:31PM +0200, Justin

Re: Adding a new HDD - how do I move /var/lib/mysql ?

2007-01-10 Thread Tyler MacDonald
Kevin Mark [EMAIL PROTECTED] wrote: I've had to do this several times now, it's a fairly painless procedure. I've added a few notes... Hi Justin, probably the simplest way is to just make a new /var on the new drive and move all of it there. -add new HD to computer -partition HD -format HD

Re: Adding a new HDD - how do I move /var/lib/mysql ?

2007-01-10 Thread Roberto C. Sanchez
On Wed, Jan 10, 2007 at 02:46:29PM -0500, Kevin Mark wrote: probably the simplest way is to just make a new /var on the new drive and move all of it there. -add new HD to computer -partition HD -format HD -mount new HD as /mnt/newvar -stop all processes (like single user mode) -copy all of

RE: Adding a new HDD - how do I move /var/lib/mysql ?

2007-01-10 Thread James Stevenson
again. -Original Message- From: Justin Hartman [mailto:[EMAIL PROTECTED] Sent: 10 January 2007 19:32 To: debian-user@lists.debian.org Subject: Adding a new HDD - how do I move /var/lib/mysql ? I currently have a server with an 80GB hdd which is running out of space very quickly. I

Re: Adding a new HDD - how do I move /var/lib/mysql ?

2007-01-10 Thread Marc Shapiro
-Original Message- From: Justin Hartman [mailto:[EMAIL PROTECTED] Sent: 10 January 2007 19:32 To: debian-user@lists.debian.org Subject: Adding a new HDD - how do I move /var/lib/mysql ? I currently have a server with an 80GB hdd which is running out of space very quickly. I want to now