Mailing List
Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Installation - Getting started with Red Hat Linux
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 8.0 - Discussion of Red Hat Linux 8.0 (Psyche)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.1 - Discussion of Red Hat Linux 7.1 (Seawolf)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Disk Full Problem....

Disk Full Problem....

2004-02-20       - By Srinivas Koppisetti

 Back
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

Ed,
Thanks for the info.

I was just thinking another option also. I dont know if its any realistic
one. Can we mount 2nd machines disk on to server in question and copy all
the data files to that volume and create symbolic links and see if that
database comes up and works.

Any suggestions will be of great help..,

Thanks,
Srinivas '



-- --Original Message-- --
From: Ed Wilts [mailto:ewilts@(protected)]
Sent: Friday, February 20, 2004 2:31 PM
To: redhat-list@(protected)
Subject: Re: Disk Full Problem....


On Fri, Feb 20, 2004 at 01:41:09PM -0500, Srinivas Koppisetti wrote:
> Can we move mysql data files to a different volume and ask the endine to
> pick the data files from there. If so I need some more help on how to do
> that.

I 'm doing this off the top of my head so double-check my work before you
shoot yourself in the foot. I have not verified that mysql follows
symbolic links. An alternative to using the symbolic link is to edit
/etc/rc.d/init.d/mysqld and change the datadir symbol, but you 'll have
to be careful with every mysql update that your edited version of the
mysqld script doesn 't get overwritten.

Assume your new disk is /u01 and you want to move the databases to
/u01/mysql.

# /sbin/service mysqld shutdown
# du -sh /var/lib/mysql
See how much space is used now.
# ls -ltR /var/lib/mysql
Check file owners and permissions too
# mv /var/lib/mysql /u01/mysql
# du -sh /u01/mysql
# ls -ltR /u01/mysql
# ln -s /var/lib/mysql /u01/mysql
# ls -ltR /var/lib/mysql
You should see the same files but in the new locations
# /sbin/service/mysqld start

--
Ed Wilts, Mounds View, MN, USA
mailto:ewilts@(protected)
Member #1, Red Hat Community Ambassador Program


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


===========================================================================
This electronic transmission contains confidential information intended only
for the person(s) named. Any use, distribution, copying, or disclosure by
any other person is strictly prohibited. If you received this transmission
in error, please notify the sender by return e-mail and delete all copies of
this message.
===========================================================================


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list