This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Really big files?


If I wanted to troubleshoot this, how would I do it?

I imagine strace would produce an unbelievable amount of output.  ie. dd
fails after 35 million read/write pairs.

Also, what package is dd in?

If I do try this I will only be able to make one debug pass per day
because of how slow the dd runs.  (ie. several hours)

Greg

On Tue, 2003-12-16 at 19:30, Greg Freemyer wrote:
> On Tue, 2003-12-16 at 16:19, Brian Dessent wrote:
> > Greg Freemyer wrote:
> > 
> > > I just tried to dd the first 163 GB of a raw drive to a image file.
> > > 
> > > It failed at about 145 GB.  Should it work?
> > > 
> > > I had plenty of free space.
> > > 
> > > I'm using cygwin.dll ver. 1.5.5 and a recent dd  (I think, see cygcheck -s output).
> > > 
> > > === Session Log
> > > $ mount -f -b //./physicaldrive2 /dev/todds
> > 
> > Just a completely random guess here:  Is 'physicaldrive2' an active
> > system drive?  IIRC there are some parts of windows that cannot be read
> > by anything but the kernel itself, such as the SAM database (or
> > something along those lines.)  If this is the case then you'd have to do
> > the image when the partition is not active.  I don't know how or if
> > tools like Ghost get around this.
> > 
> > Brian
> 
> No, it is not an active system drive.  By chance this drive had its
> partition table blown away.  Win2k is not even assigning it a drive
> letter.
> 
> Also, if you look at the dd output
> 
> >> 
> dd: writing `/cygdrive/e/full_image': Permission denied
> 35838209+0 records in
> 35838208+0 records out
> >>
> 
> You see that the failure was on the write, not on the read.
> 
> I have over 50 GB free even with that file in place, so I'm definately
> not short of space.
> 
> Also, I believe NTFS for Win2k has a 2 TB filesize max., so that should
> not be a problem.
> 
> Greg
> 
> 
> 
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]