Solved

What does the commands mean?

Posted on 2009-04-13
2
398 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
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
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.

706 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now