Bizarre clone attempt failures on Raspberry Pi2...

Paul Mather paul at gromit.dlib.vt.edu
Thu Jul 14 00:14:01 UTC 2016


> On Jul 13, 2016, at 3:54 PM, Karl Denninger <karl at denninger.net> wrote:
> 
> Oh, there is one difference:
> 
> tunefs -p on the new device *works* (no idea why however since there's
> no slice there) where it FAILS on the original:
> 
> root at Test-MCP:/home/karl # tunefs -p /dev/mmcsd0s2


Shouldn't this be /dev/mmcsd0s2a?  You're referencing the entire BSD slice in the above command, not the UFS partition upon which the rootfs lives.


> tunefs: /dev/mmcsd0s2: could not read superblock to fill out disk
> 
> root at Test-MCP:/home/karl # tunefs -p /dev/da0s2
> tunefs: POSIX.1e ACLs: (-a)                                disabled
> tunefs: NFSv4 ACLs: (-N)                                   disabled
> tunefs: MAC multilabel: (-l)                               disabled
> tunefs: soft updates: (-n)                                 enabled
> tunefs: soft update journaling: (-j)                       disabled
> tunefs: gjournal: (-J)                                     disabled
> tunefs: trim: (-t)                                         disabled
> tunefs: maximum blocks per file in a cylinder group: (-e)  4096
> tunefs: average file size: (-f)                            16384
> tunefs: average number of files in a directory: (-s)       64
> tunefs: minimum percentage of free space: (-m)             8%
> tunefs: space to hold for metadata blocks: (-k)            6408
> tunefs: optimization preference: (-o)                      time
> tunefs: volume label: (-L)                                 rootfs

Cheers,

Paul.


More information about the freebsd-arm mailing list