Page 1 of 1

[Solved]Mounting file system to backup

Posted: Wed Feb 20, 2013 4:32 pm
by aladuce
Hello,
My aim is to backup one hard disk sdb1 towards another hard disk sda4. Le two hard disks are in ext4 filesystems. And I used FSArchiver contained in the last versus of SysRescueCd, I put in a CD.
After mounting sdb1 (mount -t ext4 /dev/sdb1 /mnt/SATA2), when I launch FSArchiver (fsarchiver savefs -j4 /mnt/SATA1/disk2.fsa /dev/sdb1), I get the message which explains that sdb1 is mounted in read-write option, and FSArchiver is stopped.
I tried to mount sdb1 as explained in the message (I hope); I tried "mount -t ext4 -o ro /dev/sdb1 /mnt/SATA2". Without success.
Can someone tell me how to do, how mount a disk only in read option ?
Thanks

Re: Mounting file system to backup

Posted: Thu Feb 21, 2013 5:59 pm
by Lazy_Kent
You shouldn't mount a disk at all.

Re: Mounting file system to backup

Posted: Thu Feb 21, 2013 7:30 pm
by aladuce
Thank you for your response.
I read seriously this page http://www.fsarchiver.org/Main_Page. In the limitations, we can read:
FSArchiver is safe when it makes backups of partitions which are not mounted or mounted read-only
.
Doing so, the program works, I did it.
In conclusion, we must not mount a disk. But we must mount a directory when we want backup datafiles.