Hi everyone,
I'm trying to do a raw copy with dd from one disk to another.
But unfortunately the dd command is failling :
dd: /ada3: Read-only file system
ada3 is my destination drive.
I tried several options, I created a partition and filesystem, mounted the drive, was able to create a folder, but still the same issue.
I also tried to destroy everything by doing "gpart destroy ada3" still no luck.
ater googling a while I found out this on a dd man page:
1. [Tru64 UNIX] To copy to a raw disk, the disk label must first be
zeroed using the disklabel -z command. For example:
disklabel -z /dev/disk/dsk1
[Tru64 UNIX] If you do not zero out the disk label, dd fails with the
following error message:
dd write error: Read-only file system
I would like to give this a try, but I cannot find any equivalent with "bsdlabel" on my FreeBSD 9.0.
Any thoughts to help me ?
Thanks.
I'm trying to do a raw copy with dd from one disk to another.
But unfortunately the dd command is failling :
dd: /ada3: Read-only file system
ada3 is my destination drive.
I tried several options, I created a partition and filesystem, mounted the drive, was able to create a folder, but still the same issue.
I also tried to destroy everything by doing "gpart destroy ada3" still no luck.
ater googling a while I found out this on a dd man page:
1. [Tru64 UNIX] To copy to a raw disk, the disk label must first be
zeroed using the disklabel -z command. For example:
disklabel -z /dev/disk/dsk1
[Tru64 UNIX] If you do not zero out the disk label, dd fails with the
following error message:
dd write error: Read-only file system
I would like to give this a try, but I cannot find any equivalent with "bsdlabel" on my FreeBSD 9.0.
Any thoughts to help me ?
Thanks.