Thanks for the tip!

On Tue, Oct 29, 2024 at 1:54 PM Kenneth Gober <kgo...@gmail.com> wrote:

> On Tue, Oct 29, 2024 at 3:42 PM nisp1953 <nisp6...@gmail.com> wrote:
>
>> I am usinOpenBSD 7.6 GENERIC.MP#338 amd64
>>
>> I have a 1 TB disk I formatted under Linux. I wanted to change the
>> disklabel from:
>> [...]
>> sd1> m i
>> offset: [64]
>> size: [1953525040]
>> FS type: [unknown] ext2fs
>> sd1*> p
>> OpenBSD area: 64-1953525104; size: 1953525040; free: 0
>> #                size           offset  fstype [fsize bsize   cpg]
>>   c:       1953525167                0  unused
>>   i:       1953525040               64  ext2fs
>> sd1*> w
>> disklabel: DIOCWDINFO: Input/output error
>> disklabel: unable to write label
>> sd1*> x
>>
>
> You should consider the 'i' slice in disklabel informational.  It is not a
> real slice defined/stored in the disklabel, rather it is a 'view' shown
> with the disklabel of something defined elsewhere, in this case the disk
> partition table.  To modify it you should use a tool like fdisk(8).  It is
> shown with the disklabel so you'll know it's occupied so you won't try to
> use it for OpenBSD purposes.
>
> -ken
>

Reply via email to