Operating System - Tru64 Unix
1753259 Members
6453 Online
108792 Solutions
New Discussion юеВ

Re: Problem restoring raw LSM volume to a raw disk partition

 
SOLVED
Go to solution
Osama Ahmed
Advisor

Problem restoring raw LSM volume to a raw disk partition

we are trying to restore (Using netbackup) a raw LSM volume having a database file to a raw disk partition gives a read only file system erroe. When using a dd command as another test the following meesage occur:

# dd if=/dev/zero of=/dev/rdisk/dsk100a bs=1024
dd write error: Read-only file system
1+0 records in
0+0 records out

Any Help ?

Please help.
2 REPLIES 2
Michael Schulte zur Sur
Honored Contributor
Solution

Re: Problem restoring raw LSM volume to a raw disk partition

Hi,

the first 16 blocks of a disk are reserved for internal use and can not be written to. You will have to skip them like
dd if=/dev/zero of==/dev/rdisk/dsk100a oseek=16
Was partition a the original partition? You may want to use a partition which does not start at offset 0.

greetings,

Michael
Osama Ahmed
Advisor

Re: Problem restoring raw LSM volume to a raw disk partition

You can not use the first 16 block of the disk.
you may start at offset 1 instead of 0 to be able to write to the raw disk partitions.