Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 419
  • Last Modified:

What does the commands mean?

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
Zeth Larsson
Asked:
Zeth Larsson
1 Solution
 
ai_ja_naiCommented:
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
 
Zeth LarssonAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now