Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Cross reference: https://pastebin.com/2SrjdCKw
- ----
- root@mowa219-gjp4-8570p:~ # ls /dev/da*
- /dev/da0 /dev/da0p1 /dev/da1 /dev/da1p1
- root@mowa219-gjp4-8570p:~ # gdisk /dev/da1
- GPT fdisk (gdisk) version 1.0.5
- Partition table scan:
- MBR: protective
- BSD: not present
- APM: not present
- GPT: present
- Found valid GPT with protective MBR; using GPT.
- Command (? for help): p
- Disk /dev/da1: 30277632 sectors, 14.4 GiB
- Sector size (logical): 512 bytes
- Disk identifier (GUID): 0313CC62-C436-47B4-95B9-73616167E05E
- Partition table holds up to 128 entries
- Main partition table begins at sector 2 and ends at sector 33
- First usable sector is 34, last usable sector is 30277598
- Partitions will be aligned on 2-sector boundaries
- Total free space is 0 sectors (0 bytes)
- Number Start (sector) End (sector) Size Code Name
- 1 34 30277598 14.4 GiB A503
- Command (? for help): q
- root@mowa219-gjp4-8570p:~ # lsblk
- DEVICE MAJ:MIN SIZE TYPE LABEL MOUNT
- ada0 0:134 466G GPT - -
- ada0p1 0:136 200M efi gpt/efiboot0 -
- ada0p2 0:138 512K freebsd-boot gpt/gptboot0 -
- <FREE> -:- 492K - - -
- ada0p3 0:140 16G freebsd-swap gpt/swap0 SWAP
- ada0p3.eli 2:15 16G freebsd-swap - SWAP
- ada0p4 0:142 450G freebsd-zfs gpt/zfs0 <ZFS>
- ada0p4.eli 0:152 450G - - -
- <FREE> -:- 4.0K - - -
- da0 2:34 466G GPT - -
- <FREE> -:- 1.0M - - -
- da0p1 2:35 466G freebsd-zfs gpt/efiboot0 <ZFS>
- da1 2:42 14G GPT - -
- da1p1 2:43 14G freebsd-ufs - -
- root@mowa219-gjp4-8570p:~ # newfs -U /dev/da1p1
- /dev/da1p1: 14784.0MB (30277560 sectors) block size 32768, fragment size 4096
- using 24 cylinder groups of 625.22MB, 20007 blks, 80128 inodes.
- with soft updates
- super-block backups (for fsck_ffs -b #) at:
- 192, 1280640, 2561088, 3841536, 5121984, 6402432, 7682880, 8963328, 10243776,newfs: sbwrite: failed to write superblock: Input/output error
- root@mowa219-gjp4-8570p:~ # gdisk /dev/da1
- GPT fdisk (gdisk) version 1.0.5
- Partition table scan:
- MBR: protective
- BSD: not present
- APM: not present
- GPT: present
- Found valid GPT with protective MBR; using GPT.
- Command (? for help): x
- Expert command (? for help): z
- About to wipe out GPT on /dev/da1. Proceed? (Y/N): y
- Warning: The kernel may continue to use old or deleted partitions.
- You should reboot or remove the drive.
- GPT data structures destroyed! You may now partition the disk using fdisk or
- other utilities.
- Blank out MBR? (Y/N): y
- root@mowa219-gjp4-8570p:~ # gpart add -t freebsd-ufs /dev/da1
- gpart: No partitioning scheme found on geom /dev/da1. Create one first using 'gpart create'.
- root@mowa219-gjp4-8570p:~ # gdisk /dev/da1
- GPT fdisk (gdisk) version 1.0.5
- Partition table scan:
- MBR: not present
- BSD: not present
- APM: not present
- GPT: not present
- Creating new GPT entries in memory.
- Command (? for help): w
- Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
- PARTITIONS!!
- Do you want to proceed? (Y/N): y
- OK; writing new GUID partition table (GPT) to /dev/da1.
- Warning: The kernel may continue to use old or deleted partitions.
- You should reboot or remove the drive.
- The operation has completed successfully.
- root@mowa219-gjp4-8570p:~ # gpart add -t freebsd-ufs /dev/da1
- da1p1 added
- root@mowa219-gjp4-8570p:~ # newfs -U /dev/da1p1
- /dev/da1p1: 14784.0MB (30277560 sectors) block size 32768, fragment size 4096
- using 24 cylinder groups of 625.22MB, 20007 blks, 80128 inodes.
- with soft updates
- super-block backups (for fsck_ffs -b #) at:
- 192, 1280640, 2561088, 3841536, 5121984, 6402432, 7682880, 8963328, 10243776, 11524224, 12804672,newfs: sbwrite: failed to write superblock: Input/output error
- root@mowa219-gjp4-8570p:~ # gdisk /dev/da1
- GPT fdisk (gdisk) version 1.0.5
- Partition table scan:
- MBR: protective
- BSD: not present
- APM: not present
- GPT: present
- Found valid GPT with protective MBR; using GPT.
- Command (? for help): q
- root@mowa219-gjp4-8570p:~ # sysctl vfs.read_max
- vfs.read_max: 256
- root@mowa219-gjp4-8570p:~ # sysctl vfs.read_max=64
- vfs.read_max: 256 -> 64
- root@mowa219-gjp4-8570p:~ # newfs -U /dev/da1p1
- /dev/da1p1: 14784.0MB (30277560 sectors) block size 32768, fragment size 4096
- using 24 cylinder groups of 625.22MB, 20007 blks, 80128 inodes.
- with soft updates
- super-block backups (for fsck_ffs -b #) at:
- 192, 1280640, 2561088, 3841536, 5121984, 6402432, 7682880, 8963328, 10243776, 11524224, 12804672, 14085120,newfs: sbwrite: failed to write superblock: Input/output error
- root@mowa219-gjp4-8570p:~ # sysctl vfs.read_max=32
- vfs.read_max: 64 -> 32
- root@mowa219-gjp4-8570p:~ # newfs -U /dev/da1p1
- /dev/da1p1: 14784.0MB (30277560 sectors) block size 32768, fragment size 4096
- using 24 cylinder groups of 625.22MB, 20007 blks, 80128 inodes.
- with soft updates
- super-block backups (for fsck_ffs -b #) at:
- 192, 1280640, 2561088, 3841536, 5121984, 6402432, 7682880, 8963328, 10243776, 11524224, 12804672, 14085120, 15365568, 16646016, 17926464,newfs: initcg: cgwrite: short write to block device: Input/output error
- root@mowa219-gjp4-8570p:~ # sysctl vfs.read_max=256
- vfs.read_max: 32 -> 256
- root@mowa219-gjp4-8570p:~ # newfs -U /dev/da1p1
- /dev/da1p1: 14784.0MB (30277560 sectors) block size 32768, fragment size 4096
- using 24 cylinder groups of 625.22MB, 20007 blks, 80128 inodes.
- with soft updates
- super-block backups (for fsck_ffs -b #) at:
- 192, 1280640, 2561088, 3841536, 5121984, 6402432, 7682880, 8963328, 10243776, 11524224, 12804672, 14085120, 15365568, 16646016, 17926464, 19206912,newfs: sbwrite: failed to write superblock: Input/output error
- root@mowa219-gjp4-8570p:~ # sysctl vfs.read_max=64
- vfs.read_max: 256 -> 64
- root@mowa219-gjp4-8570p:~ # newfs -U /dev/da1p1
- /dev/da1p1: 14784.0MB (30277560 sectors) block size 32768, fragment size 4096
- using 24 cylinder groups of 625.22MB, 20007 blks, 80128 inodes.
- with soft updates
- super-block backups (for fsck_ffs -b #) at:
- 192, 1280640, 2561088, 3841536, 5121984, 6402432, 7682880, 8963328, 10243776, 11524224, 12804672, 14085120, 15365568, 16646016, 17926464, 19206912, 20487360,newfs: sbwrite: failed to write superblock: Input/output error
- root@mowa219-gjp4-8570p:~ # sysctl kern.sched.preempt_thresh
- kern.sched.preempt_thresh: 224
- root@mowa219-gjp4-8570p:~ # newfs -U /dev/da1p1
- /dev/da1p1: 14784.0MB (30277560 sectors) block size 32768, fragment size 4096
- using 24 cylinder groups of 625.22MB, 20007 blks, 80128 inodes.
- with soft updates
- super-block backups (for fsck_ffs -b #) at:
- 192, 1280640, 2561088, 3841536, 5121984, 6402432, 7682880, 8963328, 10243776, 11524224, 12804672, 14085120, 15365568, 16646016, 17926464, 19206912, 20487360, 21767808,newfs: sbwrite: failed to write superblock: Input/output error
- root@mowa219-gjp4-8570p:~ # newfs -U /dev/da1p1
- /dev/da1p1: 14784.0MB (30277560 sectors) block size 32768, fragment size 4096
- using 24 cylinder groups of 625.22MB, 20007 blks, 80128 inodes.
- with soft updates
- super-block backups (for fsck_ffs -b #) at:
- 192, 1280640, 2561088, 3841536, 5121984, 6402432, 7682880, 8963328, 10243776, 11524224, 12804672, 14085120, 15365568, 16646016, 17926464, 19206912, 20487360, 21767808,
- 23048256,newfs: sbwrite: failed to write superblock: Input/output error
- root@mowa219-gjp4-8570p:~ # newfs -U /dev/da1p1
- /dev/da1p1: 14784.0MB (30277560 sectors) block size 32768, fragment size 4096
- using 24 cylinder groups of 625.22MB, 20007 blks, 80128 inodes.
- with soft updates
- super-block backups (for fsck_ffs -b #) at:
- 192, 1280640, 2561088, 3841536, 5121984, 6402432, 7682880, 8963328, 10243776, 11524224, 12804672, 14085120, 15365568, 16646016, 17926464, 19206912, 20487360, 21767808,
- 23048256, 24328704,newfs: sbwrite: failed to write superblock: Input/output error
- root@mowa219-gjp4-8570p:~ # newfs -U /dev/da1p1
- /dev/da1p1: 14784.0MB (30277560 sectors) block size 32768, fragment size 4096
- using 24 cylinder groups of 625.22MB, 20007 blks, 80128 inodes.
- with soft updates
- super-block backups (for fsck_ffs -b #) at:
- 192, 1280640, 2561088, 3841536, 5121984, 6402432, 7682880, 8963328, 10243776, 11524224, 12804672, 14085120, 15365568, 16646016, 17926464, 19206912, 20487360, 21767808,
- 23048256, 24328704, 25609152,newfs: sbwrite: failed to write superblock: Input/output error
- root@mowa219-gjp4-8570p:~ # newfs -U /dev/da1p1
- /dev/da1p1: 14784.0MB (30277560 sectors) block size 32768, fragment size 4096
- using 24 cylinder groups of 625.22MB, 20007 blks, 80128 inodes.
- with soft updates
- super-block backups (for fsck_ffs -b #) at:
- 192, 1280640, 2561088, 3841536, 5121984, 6402432, 7682880, 8963328, 10243776, 11524224, 12804672, 14085120, 15365568, 16646016, 17926464, 19206912, 20487360, 21767808,
- 23048256, 24328704, 25609152, 26889600,newfs: sbwrite: failed to write superblock: Input/output error
- root@mowa219-gjp4-8570p:~ # newfs -U /dev/da1p1
- /dev/da1p1: 14784.0MB (30277560 sectors) block size 32768, fragment size 4096
- using 24 cylinder groups of 625.22MB, 20007 blks, 80128 inodes.
- with soft updates
- super-block backups (for fsck_ffs -b #) at:
- 192, 1280640, 2561088, 3841536, 5121984, 6402432, 7682880, 8963328, 10243776, 11524224, 12804672, 14085120, 15365568, 16646016, 17926464, 19206912, 20487360, 21767808,
- 23048256, 24328704, 25609152, 26889600, 28170048,newfs: sbwrite: failed to write superblock: Input/output error
- root@mowa219-gjp4-8570p:~ # newfs -U /dev/da1p1
- /dev/da1p1: 14784.0MB (30277560 sectors) block size 32768, fragment size 4096
- using 24 cylinder groups of 625.22MB, 20007 blks, 80128 inodes.
- with soft updates
- super-block backups (for fsck_ffs -b #) at:
- 192, 1280640, 2561088, 3841536, 5121984, 6402432, 7682880, 8963328, 10243776, 11524224, 12804672, 14085120, 15365568, 16646016, 17926464, 19206912, 20487360, 21767808,
- 23048256, 24328704, 25609152, 26889600, 28170048, 29450496
- root@mowa219-gjp4-8570p:~ # newfs -U /dev/da1p1
- /dev/da1p1: 14784.0MB (30277560 sectors) block size 32768, fragment size 4096
- using 24 cylinder groups of 625.22MB, 20007 blks, 80128 inodes.
- with soft updates
- super-block backups (for fsck_ffs -b #) at:
- 192, 1280640, 2561088, 3841536, 5121984, 6402432, 7682880, 8963328, 10243776, 11524224, 12804672, 14085120, 15365568, 16646016, 17926464, 19206912, 20487360, 21767808,
- 23048256, 24328704, 25609152, 26889600, 28170048, 29450496
- root@mowa219-gjp4-8570p:~ # newfs -U /dev/da1p1
- /dev/da1p1: 14784.0MB (30277560 sectors) block size 32768, fragment size 4096
- using 24 cylinder groups of 625.22MB, 20007 blks, 80128 inodes.
- with soft updates
- super-block backups (for fsck_ffs -b #) at:
- 192, 1280640, 2561088, 3841536, 5121984, 6402432, 7682880, 8963328, 10243776, 11524224, 12804672, 14085120, 15365568, 16646016, 17926464, 19206912, 20487360, 21767808,
- 23048256, 24328704, 25609152, 26889600, 28170048, 29450496
- root@mowa219-gjp4-8570p:~ # time newfs -U /dev/da1p1
- /dev/da1p1: 14784.0MB (30277560 sectors) block size 32768, fragment size 4096
- using 24 cylinder groups of 625.22MB, 20007 blks, 80128 inodes.
- with soft updates
- super-block backups (for fsck_ffs -b #) at:
- 192, 1280640, 2561088, 3841536, 5121984, 6402432, 7682880, 8963328, 10243776, 11524224, 12804672, 14085120, 15365568, 16646016, 17926464, 19206912, 20487360, 21767808,
- 23048256, 24328704, 25609152, 26889600, 28170048, 29450496
- 0.000u 0.022s 0:34.29 0.0% 156+150k 7+110io 0pf+0w
- root@mowa219-gjp4-8570p:~ # tail -n 0 -f /var/log/messages
- Dec 26 12:30:34 mowa219-gjp4-8570p kernel: ugen0.6: <Kingston DataTraveler 3.0> at usbus0 (disconnected)
- Dec 26 12:30:34 mowa219-gjp4-8570p kernel: umass1: at uhub0, port 7, addr 7 (disconnected)
- Dec 26 12:30:34 mowa219-gjp4-8570p kernel: da1 at umass-sim1 bus 1 scbus7 target 0 lun 0
- Dec 26 12:30:34 mowa219-gjp4-8570p kernel: da1: <Kingston DataTraveler 3.0 PMAP> s/n 60A44C42539CE310C71C301D detached
- Dec 26 12:30:34 mowa219-gjp4-8570p kernel: (da1:umass-sim1:1:0:0): Periph destroyed
- Dec 26 12:30:34 mowa219-gjp4-8570p kernel: umass1: detached
- Dec 26 12:30:43 mowa219-gjp4-8570p kernel: ugen0.6: <Kingston DataTraveler 3.0> at usbus0
- Dec 26 12:30:43 mowa219-gjp4-8570p kernel: umass1 on uhub0
- Dec 26 12:30:43 mowa219-gjp4-8570p kernel: umass1: <Kingston DataTraveler 3.0, class 0/0, rev 3.10/1.10, addr 8> on usbus0
- Dec 26 12:30:43 mowa219-gjp4-8570p kernel: umass1: SCSI over Bulk-Only; quirks = 0x8100
- Dec 26 12:30:43 mowa219-gjp4-8570p kernel: umass1:7:1: Attached to scbus7
- Dec 26 12:30:43 mowa219-gjp4-8570p kernel: da1 at umass-sim1 bus 1 scbus7 target 0 lun 0
- Dec 26 12:30:43 mowa219-gjp4-8570p kernel: da1: <Kingston DataTraveler 3.0 PMAP> Removable Direct Access SPC-4 SCSI device
- Dec 26 12:30:43 mowa219-gjp4-8570p kernel: da1: Serial Number 60A44C42539CE310C71C301D
- Dec 26 12:30:43 mowa219-gjp4-8570p kernel: da1: 400.000MB/s transfers
- Dec 26 12:30:43 mowa219-gjp4-8570p kernel: da1: 14784MB (30277632 512 byte sectors)
- Dec 26 12:30:43 mowa219-gjp4-8570p kernel: da1: quirks=0x2<NO_6_BYTE>
- ^C
- root@mowa219-gjp4-8570p:~ # mount | grep ufs
- /dev/da1p1 on /media/da1p1 (ufs, local, noatime, soft-updates)
- root@mowa219-gjp4-8570p:~ # exit
- logout
- mowa219-gjp4-8570p% stressdisk cycle /media/da1p1
- 2020/12/26 12:37:33 statsfile "stressdisk_stats.json" does not exist -- will create
- 2020/12/26 12:37:33 Removing 0 check files
- 2020/12/26 12:37:33 Starting round 1
- 2020/12/26 12:37:33 No check files - generating
- 2020/12/26 12:37:33 Couldn't open file "/media/da1p1/TST_0000" for write: open /media/da1p1/TST_0000: permission denied
- mowa219-gjp4-8570p% su -
- Password:
- root@mowa219-gjp4-8570p:~ # stressdisk cycle /media/da1p1
- 2020/12/26 12:38:02 loaded statsfile "stressdisk_stats.json"
- 2020/12/26 12:38:02
- Bytes read: 0 MByte ( 0.00 MByte/s)
- Bytes written: 4154 MByte ( 44.95 MByte/s)
- Errors: 0
- Elapsed time: 1.202568ms
- 2020/12/26 12:38:02 Removing 0 check files
- 2020/12/26 12:38:02 Starting round 1
- 2020/12/26 12:38:02 No check files - generating
- 2020/12/26 12:38:02 Writing file "/media/da1p1/TST_0000" size 1000000000
- 2020/12/26 12:39:02
- Bytes read: 0 MByte ( 0.00 MByte/s)
- Bytes written: 4612 MByte ( 30.26 MByte/s)
- Errors: 0
- Elapsed time: 1m0.007942619s
- 2020/12/26 12:40:02
- Bytes read: 0 MByte ( 0.00 MByte/s)
- Bytes written: 5050 MByte ( 23.78 MByte/s)
- Errors: 0
- Elapsed time: 2m0.007917772s
- 2020/12/26 12:40:23 Writing file "/media/da1p1/TST_0001" size 1000000000
- 2020/12/26 12:41:02
- Bytes read: 0 MByte ( 0.00 MByte/s)
- Bytes written: 5252 MByte ( 19.62 MByte/s)
- Errors: 0
- Elapsed time: 3m0.002981331s
- 2020/12/26 12:42:02
- Bytes read: 0 MByte ( 0.00 MByte/s)
- Bytes written: 5328 MByte ( 16.26 MByte/s)
- Errors: 0
- Elapsed time: 4m0.002888419s
- 2020/12/26 12:42:03 Error while writing "/media/da1p1/TST_0001"
- 2020/12/26 12:42:03 Removing incomplete file "/media/da1p1/TST_0001"
- 2020/12/26 12:42:03 Failed to remove incomplete file "/media/da1p1/TST_0001": remove /media/da1p1/TST_0001: no such file or directory
- root@mowa219-gjp4-8570p:~ #
Add Comment
Please, Sign In to add comment