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
Solved

What does the commands mean?

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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Suggested Solutions

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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.

837 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