Date: Wed, 13 Sep 2023 19:20:29 +0200 (CEST) From: Wojciech Puchar <wojtek@puchar.net> To: Guy Helmer <guy.helmer@gmail.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Unable to access GPT disk partitions - No such file or directory Message-ID: <7641162f-746f-8fda-2fbc-731bd17e844f@puchar.net> In-Reply-To: <0CAE8FD0-9F09-4CF6-A402-DF30B039DF23@gmail.com> References: <0CAE8FD0-9F09-4CF6-A402-DF30B039DF23@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --3974694515-57017809-1694625629=:26131 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8BIT > Mode: r0w0e0 > > The /dev entries look OK to me: > $ ls -l /dev/da2* > crw-r----- 1 root operator 0x66 Sep 13 14:01 /dev/da2 > crw-r----- 1 root operator 0x6c Sep 13 14:01 /dev/da2p1 > crw-r----- 1 root operator 0x6d Sep 13 14:01 /dev/da2p2 > crw-r----- 1 root operator 0x6e Sep 13 14:01 /dev/da2p3 > crw-r----- 1 root operator 0x6f Sep 13 14:01 /dev/da2p4 > $ ls -l /dev/gpt/ > total 0 > crw-r----- 1 root operator 0x75 Sep 13 14:01 gpboot1 > crw-r----- 1 root operator 0x77 Sep 13 14:01 gprootfs1 > crw-r----- 1 root operator 0x79 Sep 13 14:01 gpswap1 > crw-r----- 1 root operator 0x7b Sep 13 14:01 gpusrfs1 > i don't think it's FreeBSD problem at all. Can you do dd from da2 or da2p2 to /dev/null? > However, any attempt to access the /dev entries fails with "No such file or directory": > > $ sudo fsck /dev/da2p2 > Can't open /dev/da2p2: No such file or directory > $ sudo fsck /dev/da2p4 > Can't open /dev/da2p4: No such file or directory > $ sudo fsck /dev/gpt/gprootfs1 > Can't open /dev/gpt/gprootfs1: No such file or directory > $ sudo fsck /dev/gpt/gpusrfs1 > Can't open /dev/gpt/gpusrfs1: No such file or directory > > I've never had an issue like this before and I can't find anything using Google searches that resolves access to these disk devices. > Any ideas? > > Thanks, > Guy Helmer, Ph.D. > > > --3974694515-57017809-1694625629=:26131--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7641162f-746f-8fda-2fbc-731bd17e844f>