Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Operating System - Tru64 Unix
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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.