Solved

What does the commands mean?

Posted on 2009-04-13
2
406 Views
Last Modified: 2012-08-13
Linux Expert!
I have an instruction from QNAP on how to save data from a QNAP TS 109/209 server HD with a Linux Live CD from QNAP.
The server use a non standard EXT3 file system.
Now I need som help with the following issues, and see also the attached PDF-file:

1: What does this command and the attributes really do and/or mean:
mount -t ext3 /dev/sdb3 /media/ -0 extents,mballoc,delalloc
I know that /dev/sdb3 /media/ is the device I want to copy from, but what does the rest mean?
Especialy the last three arguments.

2: The disk is one of the disks in a RAID1 setup in the QNAP server, that I want to rescue data from, is it any risk at all that this command or any other command in the attached file can destroy any of my data from being readable.
This is very important, as what I can se the disk I have used so far, does not have all data on it of some reason. If the risk is "zero", then I will try the other disk.

3: The final command in the attached file, that really shall do the copy of data to another disk is this: rsync -rav /media/Public/cht_office_2003_pro
I do not have such a directory, and I suppose that QNAO has write it just as an example, of some reason. I suppose I must copy all data below the Public folder or partition which schould  have thousands of directories and subdirectories with files from several users.
Which command can do that?

The QNAP Live CD can be downloaded from ftp://csdread:csdread@ftp.qnap.com/NAS

I would be very happy for help to solve this.
Regards
Zeth

TS109-209-data-recovery.pdf
0
Comment
Question by:zeth
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 16

Accepted Solution

by:
ai_ja_nai earned 200 total points
ID: 24132631
1)the command opens access to the third partition of the second disk, and makes it available under the folder /media; the specified filesystem is ext3 and the -O extents define the policy for block allocation

2)the risk is zero, all the commands acts in a read behaviour. If you want more protection, add the option ro to the others (with prepending comma)

3)While in your /mnt folder where you mounted sda1 issue:

rsync -ahPv /media/Public .
0
 

Author Closing Comment

by:zeth
ID: 31570053
ai_ja_nai

I have executed your command, and I suppose it does what it shall do, so I will give you the points, even then I could not verify it, because the disk seems to be almost empty of some reason.

Regards
Zeth
0

Featured Post

More Than Just A Video Library

Train for your certification. Learn the latest DevOps tools. Grow your skillset to do better work.

At Linux Academy, we release new training modules every week so you'll always be up to date on the latest tech.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question