LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-20-2011, 08:11 AM   #1
farid110
LQ Newbie
 
Registered: Nov 2011
Posts: 6

Rep: Reputation: Disabled
need help with mount command


Hello
actually im an CLP pilot! and im not familiar with this thing as much but im familiar with computers and usual software any way
we had Cloud VPS at UK2.net suddenly our VPS get down and they told us recovery impossible!!!!
they make new VM for us and provide new ip with info

and tell this:
note: mounted the disk from old to it using mount /dev/sda2 /mnt/1 command!!!

what is that?!!lol

how can i use this?
thank you in advanced
 
Old 11-20-2011, 08:16 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
They mean that they have made the contents of the disk of the old VPS accessible under the directory /mnt/1, so that you can copy over files, if you need to.
 
Old 11-20-2011, 08:21 AM   #3
farid110
LQ Newbie
 
Registered: Nov 2011
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
They mean that they have made the contents of the disk of the old VPS accessible under the directory /mnt/1, so that you can copy over files, if you need to.
hello
thanks for replay im checking content with file zilla there is no sda2 /mnt/1 folders i can see the dev afte/ but the rest not exist
 
Old 11-20-2011, 11:38 AM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
The command has to be read this way: They connected the harddisk-partition (which was /dev/sda2 on the old VPS, it will have a different name on the new VPS, but that doesn't matter) to the directory /mnt/1 for accessing the files on it on the new VPS. Search for a folder named /mnt/1 and you will find your old files.
 
Old 11-20-2011, 12:03 PM   #5
farid110
LQ Newbie
 
Registered: Nov 2011
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
The command has to be read this way: They connected the harddisk-partition (which was /dev/sda2 on the old VPS, it will have a different name on the new VPS, but that doesn't matter) to the directory /mnt/1 for accessing the files on it on the new VPS. Search for a folder named /mnt/1 and you will find your old files.
Great i found it
i found my content at this address:
/mnt/1/var/www/vhosts/pilotofpersia.com
additionaly i can see my website backupilotofpersia.com_vhost_1111191630.tgz
so if i replace /var from mnt with the present var at new server,the site working fine?or this is wrong method?

i had plesk panel at the previously VPS,if i install the plesk again on this new one and load my old back up ,working?

please give me again some advise
thank you
 
Old 11-20-2011, 12:05 PM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Copy all content that you want to have on the new site from /mnt/var/www to /var/www and you should be fine.
 
Old 11-20-2011, 12:15 PM   #7
farid110
LQ Newbie
 
Registered: Nov 2011
Posts: 6

Original Poster
Rep: Reputation: Disabled
another question is i want to download my backup about 1,2G through filezilla user Sftp but downloadspeed is very low speed about 8KB/s and take very longer time
is there any better software or access that i can get that back up on my local with higher speed?

thank you
 
Old 04-27-2016, 09:28 PM   #8
fhleung
Member
 
Registered: Aug 2004
Distribution: Lubuntu Live OS
Posts: 432

Rep: Reputation: 30
if doing like this? will works? or anything wrong?

Code:
mount -t nfs ... /nfs
what should be the ... would be?
 
Old 04-28-2016, 08:37 PM   #9
dmunkz
LQ Newbie
 
Registered: Jun 2015
Distribution: rpm based
Posts: 13

Rep: Reputation: Disabled
So, try this....


1. Shell into your NEW server ( lets call it VPS2 ).


2. Do a :
Code:
df -h
3. You should see a mount like :

Code:
dev/sda2 some_stuff /mnt/1
4. Do a :
Code:
ll /mnr1/*
That show you your old stuff?


EDIT : Day late and a dollar short.


Bandwidth is bandwith. If it is 8 MB your kinda gonna see that no matter what you do. I mean you could go rsync on it; however, bandwidth is bandwidth though.

Last edited by dmunkz; 04-28-2016 at 08:38 PM. Reason: Did not read the other post.
 
Old 04-29-2016, 12:55 AM   #10
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,150

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
Cool

Quote:
Originally Posted by farid110 View Post
another question is i want to download my backup about 1,2G through filezilla user Sftp but downloadspeed is very low speed about 8KB/s and take very longer time
is there any better software or access that i can get that back up on my local with higher speed?

thank you
1.2Gb at 8kbps, waah..if your backup is not zipped. Try copying it file by file or folder by folder. Of course you need to take note which one has been copied or else you might end up duplicating files.
 
  


Reply



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
How to allow any user to mount disks with the mount command Windows to Linux Linux - Software 6 11-29-2010 06:21 PM
I'm working with symlinks with mount command to mount remote shares lhorace Linux - Newbie 1 11-21-2009 04:05 PM
Execute command on mount and integrate with gnome-mount / umount Peter Rhone Linux - Newbie 4 11-18-2008 05:28 AM
Mount Command vishalfirke Linux - Newbie 3 01-28-2005 09:34 AM
command mount G_Slackw Linux - Software 6 06-21-2004 10:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:58 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration