Solved

What does the commands mean?

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
AWS- KeepAlived notify script not working 23 78
AWS vpc peering connection 1 48
curl SSL certificate unable to get local issuer certificate 15 63
ifconfig 4 43
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Fine Tune your automatic Updates for Ubuntu / Debian
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

813 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

9 Experts available now in Live!

Get 1:1 Help Now