[Dirvish] RE: Dirvish Digest, Vol 4, Issue 13

Eric Mountain em-dirvish-1 at nerim.net
Thu Feb 17 13:04:04 PST 2005


On Thursday 17 Feb 2005 21:55, Wayne F spake thus:
> On Thursday 17 February 2005 13:02, Wayne F wrote:
>  >> Warning: start=63 - this looks like a partition rather than
>  >> the entire disk. Using fdisk on it is probably meaningless.
>  >> [Use the --force option if you really want this]
>  >> dirvish error: branch /backup/dirvish/localhost/home:default image
>  >> 2005-0217-0843 failed

[...]

> #!/bin/bash
> # /usr/local/sbin/dirvish-post
>
> SFDISK='/sbin/sfdisk -d /dev/hdb1 '
> DF='/bin/df'
> SSH='/usr/bin/ssh '
>
> $SSH $DIRVISH_CLIENT $DF >$DIRVISH_DEST/../df.out
> $SSH $DIRVISH_CLIENT $SFDISK > $DIRVISH_DEST/../sfdisk.out
>
> exit

Should sfdisk be set to dump /dev/hdb rather than /dev/hdb1?

http://www.die.net/doc/linux/man/man8/sfdisk.8.html

That would explain the "Warning: start=63 - this looks like a partition rather 
than the entire disk" message.

Cheers,
Eric
-- 
Eric Mountain


More information about the Dirvish mailing list