Advertisement
grahamperrin

glabel status; and GPT fdisk: write test failed with error number 1

Mar 27th, 2021
97
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.85 KB | None
  1. # date ; uname -v
  2. Sat Mar 27 18:19:40 GMT 2021
  3. FreeBSD 14.0-CURRENT #90 main-n245648-66f138563be: Thu Mar 25 08:00:54 GMT 2021 root@mowa219-gjp4-8570p:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG
  4. # freebsd-version -kru
  5. 14.0-CURRENT
  6. 14.0-CURRENT
  7. 14.0-CURRENT
  8. # glabel status
  9. Name Status Components
  10. gpt/efiboot0 N/A ada0p1
  11. msdosfs/EFISYS N/A ada0p1
  12. gpt/gptboot0 N/A ada0p2
  13. gpt/FreeBSD%20ZFS N/A da0p1
  14. # gdisk /dev/da1
  15. GPT fdisk (gdisk) version 1.0.6
  16.  
  17. NOTE: Write test failed with error number 1. It will be impossible to save
  18. changes to this disk's partition table!
  19. You may be able to enable writes by exiting this program, typing
  20. 'sysctl kern.geom.debugflags=16' at a shell prompt, and re-running this
  21. program.
  22.  
  23. The protective MBR's 0xEE partition is oversized! Auto-repairing.
  24.  
  25. Partition table scan:
  26. MBR: protective
  27. BSD: not present
  28. APM: not present
  29. GPT: present
  30.  
  31. Found valid GPT with protective MBR; using GPT.
  32.  
  33. Command (? for help): p
  34. Disk /dev/da1: 7814304 sectors, 3.7 GiB
  35. Sector size (logical): 512 bytes
  36. Disk identifier (GUID): 79FF4872-B177-4EC2-BEEF-EB3FF8C56DE1
  37. Partition table holds up to 128 entries
  38. Main partition table begins at sector 2 and ends at sector 33
  39. First usable sector is 34, last usable sector is 7814270
  40. Partitions will be aligned on 128-sector boundaries
  41. Total free space is 3165 sectors (1.5 MiB)
  42.  
  43. Number Start (sector) End (sector) Size Code Name
  44. 1 128 7811199 3.7 GiB 0700 Basic data partition
  45.  
  46. Command (? for help): w
  47.  
  48. Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
  49. PARTITIONS!!
  50.  
  51. Do you want to proceed? (Y/N): y
  52. OK; writing new GUID partition table (GPT) to /dev/da1.
  53. Unable to open device '/dev/da1' for writing! Errno is 1! Aborting write!
  54.  
  55. Command (? for help): q
  56. #
  57.  
Advertisement
RAW Paste Data Copied
Advertisement