Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Feb 1999 07:08:20 -0800 (PST)
From:      remy@synx.com
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   kern/10077: dd'ing a ccd stripped partition sometimes hangs in physstr.
Message-ID:  <199902141508.HAA04728@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help


>Number:         10077
>Category:       kern
>Synopsis:       dd'ing a ccd stripped partition sometimes hangs in physstr.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 14 07:10:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Remy Nonnenmacher
>Release:        3.0 (various brands)
>Organization:
Synchronix
>Environment:
FreeBSD rn.synx.com 3.0-971012-SNAP FreeBSD 3.0-971012-SNAP
FreeBSD gate3.synx.com 3.0-STABLE FreeBSD 3.0-STABLE
FreeBSD fs2.synx.com 3.0-971225-SNAP FreeBSD 3.0-971225-SNAP
FreeBSD bench18.synx.com 3.0-19980804-SNAP
etc....
>Description:
When dd'ing a partition constituted of two stripped disks via ccd,
the dd process hangs in state 'physstr' when it reaches the end of the partition
in some cases.

Exemple : (dd if=/dev/rccd...bs=<bssize>)

 - two disks partitions each of 8914935 blocks, strip size 32
	hang on any bssize (even 512)

 - two disks partitions each of 4102272 blocks, strip size 32
	OK on any bssize

 - two disks partitions each of 15733520 blocks, strip size 32
	OK on any bssize

 - two disks partitions each of 17829870 blocks, strip size 32
	OK for bssize 512 and 1K
	hang for bssize 2K or more

Filesystem accesses or always OK (probably since filesystem relies on
logical boundings created at newfs time).

Not really a problem but a little cleanup there would be nice...
(even a little warning note in ccd(4) would be OK)
Thanks for your work.

>How-To-Repeat:
- build a ccd strip, then dd if=/dev/rccd.. of=/dev/null bs=XX
- Enjoy with various bs values...


>Fix:
(Sorry, lost myself in all bounds checkings, labels, partitions
and various offsets constants. Can't help).

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902141508.HAA04728>