Hi,
I try to migrate a system from Linux to FreeBSD, but I have some disk issue.
I have a computer with 4 disk:
- 2 internal disk are working fine. (both MBR) (ada0 and ada2) (both created with Linux)
- 1 usb external disk (MBR OR GPT) is not seen by gpart (da0 ?) (also created with Linux)
- 1 internal zfs on whole disk is working but not seen by gpart (ada1 ?) (recently created by my FreeBSD computer)
When I did gpart status I got:
I then did
And now
And I got the same result even if I
I dont know if it will be helpful but:
But I can see my zfs data ... and my disk seems to correctly work.
So what is going on ?
And about my external disk
Why gpart cannot see it ?
thanks
I try to migrate a system from Linux to FreeBSD, but I have some disk issue.
I have a computer with 4 disk:
- 2 internal disk are working fine. (both MBR) (ada0 and ada2) (both created with Linux)
- 1 usb external disk (MBR OR GPT) is not seen by gpart (da0 ?) (also created with Linux)
- 1 internal zfs on whole disk is working but not seen by gpart (ada1 ?) (recently created by my FreeBSD computer)
When I did gpart status I got:
Code:
$ gpart status
Name Status Components
ada0s1 OK ada0
ada0s2 OK ada0
ada0s3 OK ada0
ada0s3a OK ada0s3
ada0s3b OK ada0s3
ada1p1 CORRUPT ada1
ada1p2 CORRUPT ada1
ada2s1 OK ada2
ada2s2 OK ada2
ada2s3 OK ada2
ada2s4 OK ada2
diskid/DISK-9VS0GZ7Jp1 CORRUPT diskid/DISK-9VS0GZ7J
diskid/DISK-9VS0GZ7Jp2 CORRUPT diskid/DISK-9VS0GZ7J
I then did
zfs mount -a
And now
Code:
$ gpart status
Name Status Components
ada0s1 OK ada0
ada0s2 OK ada0
ada0s3 OK ada0
ada0s3a OK ada0s3
ada0s3b OK ada0s3
ada2s1 OK ada2
ada2s2 OK ada2
ada2s3 OK ada2
ada2s4 OK ada2
And I got the same result even if I
zfs umount -a
I dont know if it will be helpful but:
Code:
$ ls /dev/ada*
/dev/ada0 /dev/ada0s2 /dev/ada0s3a /dev/ada1 /dev/ada2s1 /dev/ada2s3
/dev/ada0s1 /dev/ada0s3 /dev/ada0s3b /dev/ada2 /dev/ada2s2 /dev/ada2s4
$ gpart status ada1
gpart: No such geom: ada1.
But I can see my zfs data ... and my disk seems to correctly work.
So what is going on ?
And about my external disk
Code:
$ gpart status da0
gpart: No such geom: da0.
$ ls /dev/da0*
/dev/da0
Why gpart cannot see it ?
thanks