Help - Search - Members - Calendar
Full Version: Moving files from slave drive
The Planet Forums > System Administration > Backups, Restores and Transfers
jakobe75
Heres my problem,

a few months ago my drive started failing. called tech support, they confirmed this and replaced my drive at no charge with a new one
then they mounted my old drive (mounted as olddrive) for me to access via ssh.

now I have pulled almost all of the data from the drive except the mysql files...which some I believe are .mdi and .mdy files

I cannot change the permissions on them, to move them to the new location
any action I take with regrads to moving/copying/ftp, ect. ect. results in "read only file system" warning

they are set to 660 i believe.


have tried ssh and using a graphical program like cuteftp pro (using the sftp) method

in ssh I have switched to "su" but still nothing , I can navigate to the directory and l can even "ls" the directory and see what in there but
cannot get them out of that location.

I was able to move almost all of the other site files off the drive (html,swf,jpg,php,ect ect) ..even a few damaged ones..but the mysql files are still locked on there.


I can even "cat" the files and see whats contained in them.

any suggestions on this, they want to pull my drive soon so I have to ge this data off there
I have about 10 sites using databases for forums/carts ect ect.

-Jakobe
James Jhurani
QUOTE (jakobe75 @ Apr 6 2007, 01:53 PM) *
Heres my problem,

a few months ago my drive started failing. called tech support, they confirmed this and replaced my drive at no charge with a new one
then they mounted my old drive (mounted as olddrive) for me to access via ssh.

now I have pulled almost all of the data from the drive except the mysql files...which some I believe are .mdi and .mdy files

I cannot change the permissions on them, to move them to the new location
any action I take with regrads to moving/copying/ftp, ect. ect. results in "read only file system" warning

they are set to 660 i believe.
have tried ssh and using a graphical program like cuteftp pro (using the sftp) method

in ssh I have switched to "su" but still nothing , I can navigate to the directory and l can even "ls" the directory and see what in there but
cannot get them out of that location.

I was able to move almost all of the other site files off the drive (html,swf,jpg,php,ect ect) ..even a few damaged ones..but the mysql files are still locked on there.
I can even "cat" the files and see whats contained in them.

any suggestions on this, they want to pull my drive soon so I have to ge this data off there
I have about 10 sites using databases for forums/carts ect ect.

-Jakobe



If the drive is failing and mounting as read only, copy them instead of moving them...

cp file /path/to/new/location
kenkera
you might want to use the "-p" flag for cp to preserve the permissions icon_razz.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.