all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* system reconfigure fails over an nfts storage .
@ 2023-05-29 20:48 Alexandros Prekates
  2023-05-29 21:33 ` Felix Lechner via
  0 siblings, 1 reply; 4+ messages in thread
From: Alexandros Prekates @ 2023-05-29 20:48 UTC (permalink / raw)
  To: help-guix@gnu.org

Hi. I need help in solving the following issue:

Trying to mount an external usb hdd i add in /etc/config.scm :

/etc/config.scm :
  (file-systems (cons* (file-system
                         (mount-point "/")
                         (device (uuid
                                  "c4ac8e24-4952-4cd3-84dd-c457867e1494"
                                  'ext4))
                         (type "ext4"))       
                       (file-system
                        (mount-point "/home/chomwitt/ExternalHDD")
                        (device (uuid "217F991C18987AC44"))
                         (type "ntfs")(options
"uid=1000,gid=999,dmask=0002,fmask=0113")) 

But trying to reconfigure my guix system i get:
$  sudo guix system reconfigure /etc/config.scm
/etc/config.scm:91:32: error: (uuid "217F991C18987AC44" (quote dce)):
invalid UUID

Inserting my self the line:
UUID=217F991C18987AC44  /home/chomwitt/ExternalHDD
ntfsuid=1000,gid=999,dmask=0002,fmask=0113

and $ sudo mount -a   
it worked .



Alexandros.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: system reconfigure fails over an nfts storage .
  2023-05-29 20:48 system reconfigure fails over an nfts storage Alexandros Prekates
@ 2023-05-29 21:33 ` Felix Lechner via
  2023-05-30 20:49   ` Alexandros Prekates
  0 siblings, 1 reply; 4+ messages in thread
From: Felix Lechner via @ 2023-05-29 21:33 UTC (permalink / raw)
  To: Alexandros Prekates; +Cc: help-guix@gnu.org

Hi Alexandros,

On Mon, May 29, 2023 at 1:49 PM Alexandros Prekates
<aprekates@posteo.net> wrote:
>
>                         (device (uuid "217F991C18987AC44"))

Based on my reading of the file gnu/system/uuid.scm, I might instead
try the line

  (device (uuid "217F991C18987AC44" 'ntfs)

in the hope of selecting the NTFS decoder string->ntfs-uuid [1] in the
dispatching function. [2]

Kind regards
Felix

[1] https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/system/uuid.scm#n217
[2] https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/system/uuid.scm#n262


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: system reconfigure fails over an nfts storage .
  2023-05-29 21:33 ` Felix Lechner via
@ 2023-05-30 20:49   ` Alexandros Prekates
  2023-05-30 21:40     ` Felix Lechner via
  0 siblings, 1 reply; 4+ messages in thread
From: Alexandros Prekates @ 2023-05-30 20:49 UTC (permalink / raw)
  To: Felix Lechner, help-guix@gnu.org

On Mon, 29 May 2023 14:33:43 -0700
Felix Lechner <felix.lechner@lease-up.com> wrote:

> Hi Alexandros,
> 
> On Mon, May 29, 2023 at 1:49 PM Alexandros Prekates
> <aprekates@posteo.net> wrote:
> >
> >                         (device (uuid "217F991C18987AC44"))  
> 
> Based on my reading of the file gnu/system/uuid.scm, I might instead
> try the line
> 
>   (device (uuid "217F991C18987AC44" 'ntfs)
> 
> in the hope of selecting the NTFS decoder string->ntfs-uuid [1] in the
> dispatching function. [2]
> 
> Kind regards
> Felix
> 
> [1]
> https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/system/uuid.scm#n217
> [2]
> https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/system/uuid.scm#n262


Thanks! 
Indeed that helped. Although i dont understand why it should be
declared twice that it's ntfs.

Alexandros.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: system reconfigure fails over an nfts storage .
  2023-05-30 20:49   ` Alexandros Prekates
@ 2023-05-30 21:40     ` Felix Lechner via
  0 siblings, 0 replies; 4+ messages in thread
From: Felix Lechner via @ 2023-05-30 21:40 UTC (permalink / raw)
  To: Alexandros Prekates; +Cc: help-guix@gnu.org

Hi Alexandros,

On Tue, May 30, 2023 at 1:49 PM Alexandros Prekates
<aprekates@posteo.net> wrote:
>
> i dont understand why it should be declared twice that it's ntfs.

It's because without it, Guix assumes [1] that all UUID are in the
form specified by the Distributed Computing Environment (DCE). [2]

Kind regards
Felix

[1] https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/system/uuid.scm#n273
[2] https://uuid.ramsey.dev/en/stable/rfc4122/version2.html


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-05-30 21:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-29 20:48 system reconfigure fails over an nfts storage Alexandros Prekates
2023-05-29 21:33 ` Felix Lechner via
2023-05-30 20:49   ` Alexandros Prekates
2023-05-30 21:40     ` Felix Lechner via

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.