Operating System - HP-UX
1833796 Members
4640 Online
110063 Solutions
New Discussion

Re: How much data is on a raw device ?

 
Derek Brown
Frequent Advisor

How much data is on a raw device ?

I work as a sysadmin. Sometimes I have to restore data from tape to disk. Usually I restore to filesystems but sometimes I have to restore to raw devices. I like to track the data as it is restored to disk. With filesystems this is easy as you can see the files being restored. But, and this is my question, how can you tell how much of a raw volume actually contains data ?
2 REPLIES 2
A. Clay Stephenson
Acclaimed Contributor

Re: How much data is on a raw device ?

By definition, this is a raw device so the only thing you can know is the size of the raw device. Any structure to this raw data only has meaning to the application that accesses it. The OS has absolutely no way to know if the data in block 5129 of this device is garbage or meaningfull data.
If it ain't broke, I can fix that.
Derek Brown
Frequent Advisor

Re: How much data is on a raw device ?

thanks