From nobody Wed Sep 13 17:20:29 2023 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Rm6fc1vxgz4tcZp for ; Wed, 13 Sep 2023 17:20:40 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [194.1.144.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rm6fZ5m38z4KHP for ; Wed, 13 Sep 2023 17:20:38 +0000 (UTC) (envelope-from wojtek@puchar.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=puchar.net header.s=default header.b=Ddtq6Q6R; spf=pass (mx1.freebsd.org: domain of wojtek@puchar.net designates 194.1.144.90 as permitted sender) smtp.mailfrom=wojtek@puchar.net; dmarc=none Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.17.1) with ESMTPS id 38DHKThI029587 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 13 Sep 2023 19:20:30 +0200 (CEST) (envelope-from wojtek@puchar.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puchar.net; s=default; t=1694625630; bh=wU4U4TvXAWLmln9F8kf3OzTloVbT64UMksvcE6Qt644=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=Ddtq6Q6RpNUm+ByouoOJB4j7pG5m6RGpB8K8EI6F9WEIo2z1JVoaCyX/7gufM7ykq ThPtYL9008zcgZ/CGfGtvclB8Dcl7begtL/fKfG0kHQPL/o0HhnpLSOE0ML8QIloc3 fsxIG+9/5/DIowAMZbmtSGSZ+EDLx1lGKZocVITo= Received: from wojtek.intra (localhost [127.0.0.1]) by wojtek.intra (8.16.1/8.16.1) with ESMTP id 38DHKTdX026155; Wed, 13 Sep 2023 19:20:29 +0200 (CEST) (envelope-from wojtek@puchar.net) Received: from localhost (wojtek@localhost) by wojtek.intra (8.16.1/8.16.1/Submit) with ESMTP id 38DHKTTd026152; Wed, 13 Sep 2023 19:20:29 +0200 (CEST) (envelope-from wojtek@puchar.net) X-Authentication-Warning: wojtek.intra: wojtek owned process doing -bs Date: Wed, 13 Sep 2023 19:20:29 +0200 (CEST) From: Wojciech Puchar To: Guy Helmer cc: freebsd-hackers@freebsd.org Subject: Re: Unable to access GPT disk partitions - No such file or directory In-Reply-To: <0CAE8FD0-9F09-4CF6-A402-DF30B039DF23@gmail.com> Message-ID: <7641162f-746f-8fda-2fbc-731bd17e844f@puchar.net> References: <0CAE8FD0-9F09-4CF6-A402-DF30B039DF23@gmail.com> List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="3974694515-57017809-1694625629=:26131" X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.50 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; CTYPE_MIXED_BOGUS(1.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[puchar.net:s=default]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[multipart/mixed,text/plain]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; DKIM_TRACE(0.00)[puchar.net:+]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; ASN(0.00)[asn:43476, ipnet:194.1.144.0/24, country:PL]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; BLOCKLISTDE_FAIL(0.00)[194.1.144.90:server fail]; TAGGED_RCPT(0.00)[]; DMARC_NA(0.00)[puchar.net]; HAS_XAW(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4Rm6fZ5m38z4KHP 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--