Re: mounting backup filesystem on-demand (was Re: Checking for a mount in a shell script)

2025-05-21 Thread Jonathan Dowland
On Wed May 21, 2025 at 10:09 AM BST, Dan Purgert wrote: As far as I know namespaces (read: poorly), the backup script would need to execute setns(2) in order to join the previously created namespace for your "/backup" target. But, I've only used them with networking devices, so there may be ot

Re: mounting backup filesystem on-demand (was Re: Checking for a mount in a shell script)

2025-05-21 Thread Jonathan Dowland
On Wed May 21, 2025 at 10:05 AM BST, Nicolas George wrote: Does it mean you like your backup drive to be permanently plugged to the computer? That protects you from hardware failures and human mistakes, but not from large physical damage or theft. This drive is permanently connected to this co

Re: mounting backup filesystem on-demand (was Re: Checking for a mount in a shell script)

2025-05-21 Thread tomas
On Wed, May 21, 2025 at 11:38:38AM +0200, Nicolas George wrote: > to...@tuxteam.de (HE12025-05-21): > > Actually, this makes a lot of sense (well, nearly): keep backup constantly > > synced, unmount/mount only on media rotation, carry freshly unmounted > > medium to safe place. > > It only becomes

Re: mounting backup filesystem on-demand (was Re: Checking for a mount in a shell script)

2025-05-21 Thread Nicolas George
to...@tuxteam.de (HE12025-05-21): > Actually, this makes a lot of sense (well, nearly): keep backup constantly > synced, unmount/mount only on media rotation, carry freshly unmounted > medium to safe place. It only becomes an effective backup at the time it is unmounted to move the medium to the s

Re: mounting backup filesystem on-demand (was Re: Checking for a mount in a shell script)

2025-05-21 Thread tomas
On Wed, May 21, 2025 at 11:05:37AM +0200, Nicolas George wrote: > Jonathan Dowland (HE12025-05-21): > > I'd like /backup permanently > > mounted > > Does it mean you like your backup drive to be permanently plugged to the > computer? That protects you from h

Re: mounting backup filesystem on-demand (was Re: Checking for a mount in a shell script)

2025-05-21 Thread Nicolas George
Jonathan Dowland (HE12025-05-21): > I'd like /backup permanently > mounted Does it mean you like your backup drive to be permanently plugged to the computer? That protects you from hardware failures and human mistakes, but not from large physical damage or

Re: mounting backup filesystem on-demand (was Re: Checking for a mount in a shell script)

2025-05-21 Thread Dan Purgert
On May 21, 2025, Jonathan Dowland wrote: > On Tue May 20, 2025 at 3:50 PM BST, Dan Purgert wrote: > > I used /mnt/backup because I only wanted the partition mounted while the > > backup was running (it was one of several on that physical drive). The > > backup script did the mount/rsync/unmount as

mounting backup filesystem on-demand (was Re: Checking for a mount in a shell script)

2025-05-21 Thread Jonathan Dowland
On Tue May 20, 2025 at 3:50 PM BST, Dan Purgert wrote: I used /mnt/backup because I only wanted the partition mounted while the backup was running (it was one of several on that physical drive). The backup script did the mount/rsync/unmount as part of the execution. Really, the only point of th

(SOLVED) Re: USB device not mounting

2024-11-04 Thread D. R. Evans
D. R. Evans wrote on 11/3/24 15:13: I have a USB device that has always worked fine in the past, but now I can no longer access it when it is plugged in to my bookworm systems. (I last used the device a couple of weeks ago.) I am an idiot (although somewhat in my defence, there is no mention o

Re: USB device not mounting

2024-11-03 Thread Eike Lantzsch ZP5CGE / KY4PZ
On Sunday, 3 November 2024 19:13:52 -03 D. R. Evans wrote: > I have a USB device that has always worked fine in the past, but now I > can no longer access it when it is plugged in to my bookworm systems. > (I last used the device a couple of weeks ago.) > > Once plugged in, lsusb shows it: The An

USB device not mounting

2024-11-03 Thread D. R. Evans
I have a USB device that has always worked fine in the past, but now I can no longer access it when it is plugged in to my bookworm systems. (I last used the device a couple of weeks ago.) Once plugged in, lsusb shows it: [ZB:~] lsusb ... Bus 001 Device 011: ID 0483:a1de STMicroelectroni

Re: mounting external hard drive from rescue mode shell?

2024-06-24 Thread Stefan Monnier
>> - Boot using the Grub on the X30's own HDD, and then ask Grub to boot >>the kernel+initrd found on the USB key (this is my favorite solution). > I think this is the path I should follow. It explicitly handles my immediate > problem and most likely satisfactorily handles issue(s) on other mac

Re: mounting external hard drive from rescue mode shell?

2024-06-24 Thread Richard Owlett
On 06/23/2024 11:35 AM, Stefan Monnier wrote: Relevant laptop is so old I don't know if it can boot from a physical USB device. I was suspecting that simplest thing would be copying suitable image to hard drive and let GRUB earn its keep ;} Indeed my trusty old Thinkpad X30 doesn't boot from US

Re: OT - list mail claimed to be "known" spam! (was: mounting external hard drive...)

2024-06-23 Thread CHRIS M
On Sunday 23 June 2024 03:54:36 pm Felix Miata wrote: > > Stefan's isn't the only, but few others from any source become repeats, one > of which is every notification of new post added to subscribed thread on > forums.opensuse.org. > > Trying to get EL to stop putting subscribed email into "known

Re: OT - list mail claimed to be "known" spam! (was: mounting external hard drive...)

2024-06-23 Thread Felix Miata
Stefan Monnier composed on 2024-06-23 12:35 (UTC-0400): ... FWIW, this reply goes to list because I expect high probability Stefan would not see it otherwise. Most mailing list posts flow through to me unimpeded. Not so with Stefan's. AFAICT, every one of his is captured by Earthlink.net's "known s

Re: mounting external hard drive from rescue mode shell?

2024-06-23 Thread tomas
On Sun, Jun 23, 2024 at 12:35:19PM -0400, Stefan Monnier wrote: > Indeed my trusty old Thinkpad X30 [...] > - Take the HDD out of the X30 [...] Ah, the old Thinkpads. Swapping out the HD always just one screw away. I'll miss my old X230 (one of the last capable of this trick) which is in proces

Re: mounting external hard drive from rescue mode shell?

2024-06-23 Thread Stefan Monnier
> Relevant laptop is so old I don't know if it can boot from a physical USB > device. I was suspecting that simplest thing would be copying suitable image > to hard drive and let GRUB earn its keep ;} Indeed my trusty old Thinkpad X30 doesn't boot from USB keys (tho in theory it can boot from a US

Re: mounting external hard drive from rescue mode shell?

2024-06-23 Thread Andrew M.A. Cater
On Sat, Jun 22, 2024 at 10:38:29PM +, Andy Smith wrote: > Hi, > > On Sat, Jun 22, 2024 at 12:37:29PM -0500, Richard Owlett wrote: > > Will I outlive Debian 11/12? > > Well we're only talking a small single digit number of years here, > so I hope you have reason to be optimistic. > A colleag

Re: mounting external hard drive from rescue mode shell?

2024-06-22 Thread Andy Smith
Hi, On Sat, Jun 22, 2024 at 12:37:29PM -0500, Richard Owlett wrote: > Will I outlive Debian 11/12? Well we're only talking a small single digit number of years here, so I hope you have reason to be optimistic. Thanks, Andy -- https://bitfolk.com/ -- No-nonsense VPS hosting

Re: mounting external hard drive from rescue mode shell?

2024-06-22 Thread Andrew M.A. Cater
On Sat, Jun 22, 2024 at 05:18:53PM -0400, Jeffrey Walton wrote: > On Sat, Jun 22, 2024 at 10:48 AM Richard Owlett wrote: > > [...] > > Thank you for reminding me of live images just now. Perfect timing. > > I have an i386 machine with some atypical constraints. > > https://www.debian.org/CD/live/

Re: mounting external hard drive from rescue mode shell?

2024-06-22 Thread Jeffrey Walton
On Sat, Jun 22, 2024 at 10:48 AM Richard Owlett wrote: > [...] > Thank you for reminding me of live images just now. Perfect timing. > I have an i386 machine with some atypical constraints. > https://www.debian.org/CD/live/ states only amd64 images are currently > available. > > Questions: >1.

Re: mounting external hard drive from rescue mode shell?

2024-06-22 Thread David Christensen
On 6/22/24 10:37, Richard Owlett wrote: I ask about i386 Debian Live because I have a fine operational Sony laptop that currently runs Debian 9.0 and has a $20 price tag on its bottom. This machine has option to boot Debian 11 with an AMD64 kernel. I routinely run Debian 9.13 because its confi

Re: mounting external hard drive from rescue mode shell?

2024-06-22 Thread Richard Owlett
On 06/22/2024 12:13 PM, Stefan Monnier wrote: Rather than creating a customized Debian Live image, I install Debian onto a USB flash drive or onto a 2.5" SATA SSD connected via a USB-SATA adapter cable: +1 It's pretty easy to make a simple Debian install on some old USB key you have lying arou

Re: mounting external hard drive from rescue mode shell?

2024-06-22 Thread Richard Owlett
On 06/22/2024 08:55 AM, Andy Smith wrote: Hi, On Sat, Jun 22, 2024 at 06:43:04AM -0500, Richard Owlett wrote: Questions: 1. What is latest i386 live image available in some archive? 2. I have a working machine that will take a current full install of an i386 system. Can an average u

Re: mounting external hard drive from rescue mode shell?

2024-06-22 Thread Stefan Monnier
> Rather than creating a customized Debian Live image, I install Debian onto > a USB flash drive or onto a 2.5" SATA SSD connected via a USB-SATA adapter > cable: +1 It's pretty easy to make a simple Debian install on some old USB key you have lying around and it comes really handy. Ste

Re: mounting external hard drive from rescue mode shell?

2024-06-22 Thread David Christensen
On 6/22/24 04:43, Richard Owlett wrote: Thank you for reminding me of live images just now. Perfect timing. I have an i386 machine with some atypical constraints. https://www.debian.org/CD/live/ states only amd64 images are currently available. Questions:   1. What is latest i386 live image a

Re: mounting external hard drive from rescue mode shell?

2024-06-22 Thread Andy Smith
Hi, On Sat, Jun 22, 2024 at 06:43:04AM -0500, Richard Owlett wrote: > Questions: > 1. What is latest i386 live image available in some archive? > 2. I have a working machine that will take a current full install > of an i386 system. Can an average user create his own i386 live > inst

Re: mounting external hard drive from rescue mode shell?

2024-06-22 Thread Richard Owlett
On 06/22/2024 07:39 AM, Thomas Schmitt wrote: Hi, Richard Owlett wrote: 1. What is latest i386 live image available in some archive? I guess: https://cdimage.debian.org/mirror/cdimage/archive/11.9.0-live/i386/iso-hybrid/ That solves a plethora of problems! Thank you. At least the page

Re: mounting external hard drive from rescue mode shell?

2024-06-22 Thread Thomas Schmitt
Hi, Richard Owlett wrote: > 1. What is latest i386 live image available in some archive? I guess: https://cdimage.debian.org/mirror/cdimage/archive/11.9.0-live/i386/iso-hybrid/ At least the pages for archived Live ISOs for Debian 12 list no i386 any more: https://cdimage.debian.org/mirror/cdi

Re: mounting external hard drive from rescue mode shell?

2024-06-22 Thread Richard Owlett
On 06/21/2024 09:59 PM, Max Nikulin wrote: On 21/06/2024 11:39, David Christensen wrote: On 6/20/24 19:10, Max Nikulin wrote: On 20/06/2024 12:06, David Christensen wrote: You can use the fdisk(8) command to list the partitions on a drive. lsblk --fs perhaps with "-o +SIZE" may be more conv

Re: mounting external hard drive from rescue mode shell?

2024-06-21 Thread Max Nikulin
On 21/06/2024 11:39, David Christensen wrote: On 6/20/24 19:10, Max Nikulin wrote: On 20/06/2024 12:06, David Christensen wrote: You can use the fdisk(8) command to list the partitions on a drive. lsblk --fs perhaps with "-o +SIZE" may be more convenient to get overview of drives. The debi

Re: mounting external hard drive from rescue mode shell?

2024-06-20 Thread David Christensen
On 6/20/24 19:10, Max Nikulin wrote: On 20/06/2024 12:06, David Christensen wrote: You can use the fdisk(8) command to list the partitions on a drive. lsblk --fs perhaps with "-o +SIZE" may be more convenient to get overview of drives. The debian-11.9.0-amd64-netinst rescue shell does not

Re: mounting external hard drive from rescue mode shell?

2024-06-20 Thread Max Nikulin
On 20/06/2024 12:06, David Christensen wrote: You can use the fdisk(8) command to list the partitions on a drive. lsblk --fs perhaps with "-o +SIZE" may be more convenient to get overview of drives.

Re: mounting external hard drive from rescue mode shell?

2024-06-19 Thread David Christensen
ernal one while in rescue mode? > Thanks Eben and David! > I am now on a shell (BusyBox v.35.0 Debian 1:1.35.0-4+b3) > I don't see the mounting points to execute cp. > There is nothing under media nor root; under usr I can see only: bin > lib local sbin share. > Where are

Re: mounting external hard drive from rescue mode shell?

2024-06-19 Thread tomas
On Wed, Jun 19, 2024 at 01:23:01PM -0600, Heriberto Avelino wrote: > Thanks Eben and David! > I am now on a shell (BusyBox v.35.0 Debian 1:1.35.0-4+b3) > I don't see the mounting points to execute cp. As far as I know, you have dmesg in the rescue shell. So the way to go would be:

Re: mounting external hard drive from rescue mode shell?

2024-06-19 Thread eben
On 6/19/24 15:23, Heriberto Avelino wrote: I am now on a shell (BusyBox v.35.0 Debian 1:1.35.0-4+b3) There is nothing under media nor root Things mounted by the system would probably show up under /media or /mnt . Where are the internal h-drive and the external? To mount those you need

Re: mounting external hard drive from rescue mode shell?

2024-06-19 Thread Heriberto Avelino
Thanks Eben and David! I am now on a shell (BusyBox v.35.0 Debian 1:1.35.0-4+b3) I don't see the mounting points to execute cp. There is nothing under media nor root; under usr I can see only: bin lib local sbin share. Where are the internal h-drive and the external? I would very much appre

Re: mounting external hard drive from rescue mode shell?

2024-06-19 Thread David Christensen
On 6/19/24 08:04, Heriberto Avelino wrote: Dear all: Is it possible to mount an external hard drive while running Debian in rescue mode? Yes. Furthermore, the ultimate question is how could I copy folders from the computer's hard drive to the external one while in rescue mode? Many thanks!!

Re: mounting external hard drive from rescue mode shell?

2024-06-19 Thread eben
On 6/19/24 11:04, Heriberto Avelino wrote: Furthermore, the ultimate question is how could I copy folders from the computer's hard drive to the external one while in rescue mode? Is your computer's hard drive is already mounted? Are you comfortable in a shell? -- For is it not written, wheres

mounting external hard drive from rescue mode shell?

2024-06-19 Thread Heriberto Avelino
Dear all: Is it possible to mount an external hard drive while running Debian in rescue mode? Furthermore, the ultimate question is how could I copy folders from the computer's hard drive to the external one while in rescue mode? Many thanks!! Heriberto

Re: how to bring up message and prevent user login when not connected to a particular VLAN? (was: how to force mounting an entry in fstab on boot?)

2023-10-27 Thread hw
On Mon, 2023-10-23 at 19:22 +0200, Christoph Brinkhaus wrote: > Am Mon, Oct 23, 2023 at 05:57:28PM +0200 schrieb hw: > > On Mon, 2023-10-23 at 17:40 +0200, hw wrote: > > > On Mon, 2023-10-23 at 16:53 +0200, Christoph Brinkhaus wrote: > > > > Am Mon, Oct 23, 2023 at 04:17:11PM +0200 schrieb hw: > >

Re: how to force mounting an entry in fstab on boot?

2023-10-23 Thread David Wright
On Mon 23 Oct 2023 at 17:28:54 (+0200), hw wrote: > On Mon, 2023-10-23 at 10:30 -0400, Greg Wooledge wrote: > > On Mon, Oct 23, 2023 at 04:17:11PM +0200, hw wrote: > > > I have an entry in the fstab to mount an NFS share via IPv6. For > > > unknown reasons, the entry is being ignored on boot, so a

Re: how to bring up message and prevent user login when not connected to a particular VLAN? (was: how to force mounting an entry in fstab on boot?)

2023-10-23 Thread Christoph Brinkhaus
Am Mon, Oct 23, 2023 at 05:57:28PM +0200 schrieb hw: > On Mon, 2023-10-23 at 17:40 +0200, hw wrote: > > On Mon, 2023-10-23 at 16:53 +0200, Christoph Brinkhaus wrote: > > > Am Mon, Oct 23, 2023 at 04:17:11PM +0200 schrieb hw: > > > > Hi, > > > > > > > > I have an entry in the fstab to mount an NFS

Re: how to force mounting an entry in fstab on boot?

2023-10-23 Thread Christoph Brinkhaus
ectories. In case they are not > > > connected to that VLAN, I don't want the boot process to proceed at > > > all because the home directories won't be available. > > > > You might need the "late" option of mount. Its purpose is to mount when > >

how to bring up message and prevent user login when not connected to a particular VLAN? (was: how to force mounting an entry in fstab on boot?)

2023-10-23 Thread hw
On Mon, 2023-10-23 at 17:40 +0200, hw wrote: > On Mon, 2023-10-23 at 16:53 +0200, Christoph Brinkhaus wrote: > > Am Mon, Oct 23, 2023 at 04:17:11PM +0200 schrieb hw: > > > Hi, > > > > > > I have an entry in the fstab to mount an NFS share via IPv6. For > > > unknown reasons, the entry is being ig

Re: how to force mounting an entry in fstab on boot?

2023-10-23 Thread hw
rectories won't be available. > > You might need the "late" option of mount. Its purpose is to mount when > prerequisites as the network are available already. There doesn't seem to a 'late' option in the man pages. Having '_netdev' is supposed t

Re: how to force mounting an entry in fstab on boot?

2023-10-23 Thread hw
On Mon, 2023-10-23 at 10:30 -0400, Greg Wooledge wrote: > On Mon, Oct 23, 2023 at 04:17:11PM +0200, hw wrote: > > I have an entry in the fstab to mount an NFS share via IPv6. For > > unknown reasons, the entry is being ignored on boot, so after booting, > > I have to log in as root and do a 'mount

Re: how to force mounting an entry in fstab on boot?

2023-10-23 Thread Christoph Brinkhaus
Am Mon, Oct 23, 2023 at 04:17:11PM +0200 schrieb hw: > Hi, > > I have an entry in the fstab to mount an NFS share via IPv6. For > unknown reasons, the entry is being ignored on boot, so after booting, > I have to log in as root and do a 'mount -a' which mounts the share > without problems. > > T

Re: how to force mounting an entry in fstab on boot?

2023-10-23 Thread Greg Wooledge
On Mon, Oct 23, 2023 at 04:17:11PM +0200, hw wrote: > I have an entry in the fstab to mount an NFS share via IPv6. For > unknown reasons, the entry is being ignored on boot, so after booting, > I have to log in as root and do a 'mount -a' which mounts the share > without problems. Do your IPv4 NF

how to force mounting an entry in fstab on boot?

2023-10-23 Thread hw
Hi, I have an entry in the fstab to mount an NFS share via IPv6. For unknown reasons, the entry is being ignored on boot, so after booting, I have to log in as root and do a 'mount -a' which mounts the share without problems. The entry in the fstab looks like this: [fd53::11]:/srv/example

Re: Update on problem mounting NFS share

2023-10-05 Thread David Christensen
1.1,credentials=,rw,GID=1000,uid=1000,noauto,x-systemd.automount It's a matter of edit-reboot-test cycles with a consistent and complete test protocol. "GID=1000,uid=1000" -- looks similar to my "groupshare" idea, but from the client side. That should produce the

Re: Update on problem mounting NFS share

2023-10-04 Thread David Christensen
On 10/4/23 05:03, Steve Matzura wrote: On 10/3/2023 6:06 PM, David Christensen wrote: On 10/3/23 12:03, Steve Matzura wrote: I gave up on the NFS business and went back to good old buggy but reliable SAMBA (LOL), ... I have attempted to document the current state of Samba on my SOHO, below.

Re: Update on problem mounting NFS share

2023-10-03 Thread David Christensen
On 10/3/23 12:03, Steve Matzura wrote: I gave up on the NFS business and went back to good old buggy but reliable SAMBA (LOL), which is what I was using when I was on Debian 8, and which worked fine. Except for one thing, everything's great. In /etc/fstab, I have: //192.168.1.156/BigVol1 /m

Re: Update on problem mounting NFS share

2023-10-03 Thread piorunz
On 03/10/2023 20:03, Steve Matzura wrote: I gave up on the NFS business Why? and went back to good old buggy but reliable SAMBA (LOL) :o Sorry but I think you created bigger problem that you already had. NFS works great, I've been using it for years and it never failed me. I cannot image w

Update on problem mounting NFS share

2023-10-03 Thread Steve Matzura
I gave up on the NFS business and went back to good old buggy but reliable SAMBA (LOL), which is what I was using when I was on Debian 8, and which worked fine. Except for one thing, everything's great. In /etc/fstab, I have: //192.168.1.156/BigVol1 /mnt/bigvol1 civs vers=2.0,credentials=/r

Re: [partly solved] Re: mounting media in plasma5

2023-07-27 Thread Max Nikulin
On 05/07/2023 21:32, Max Nikulin wrote: On 04/07/2023 18:24, Hans wrote: Is there any configuration file I can look at? https://wiki.archlinux.org/title/udisks#Mount_to_/media I have realized that I do not mind to make specific ext4 partitions mounted using udisksd accessible by all users a

Re: [partly solved] Re: mounting media in plasma5

2023-07-05 Thread Max Nikulin
On 04/07/2023 18:24, Hans wrote: Is there any configuration file I can look at? I am not sure that I am realizing what you are trying to achieve, but maybe the following may give some hint https://wiki.archlinux.org/title/udisks#Mount_to_/media however it is necessary to carefully check wit

Re: [partly solved] Re: mounting media in plasma5

2023-07-05 Thread gene heskett
On 7/5/23 03:39, Max Nikulin wrote: On 05/07/2023 12:43, gene heskett wrote: On 7/4/23 23:14, Max Nikulin wrote: On 04/07/2023 22:06, gene heskett wrote: or deb which appears to be a snap Debugging of snap and similar isolation technologies heavily relying on namespaces (mount and other one

Re: [partly solved] Re: mounting media in plasma5

2023-07-05 Thread Max Nikulin
On 05/07/2023 12:43, gene heskett wrote: On 7/4/23 23:14, Max Nikulin wrote: On 04/07/2023 22:06, gene heskett wrote: or deb which appears to be a snap Debugging of snap and similar isolation technologies heavily relying on namespaces (mount and other ones) sounds like an off-topic in the t

Re: [partly solved] Re: mounting media in plasma5

2023-07-04 Thread gene heskett
On 7/4/23 23:14, Max Nikulin wrote: On 04/07/2023 22:06, gene heskett wrote: or deb which appears to be a snap Debugging of snap and similar isolation technologies heavily relying on namespaces (mount and other ones) sounds like an off-topic in the thread where udisks2 magic is the most like

Re: [partly solved] Re: mounting media in plasma5

2023-07-04 Thread Max Nikulin
On 04/07/2023 22:06, gene heskett wrote: or deb which appears to be a snap Debugging of snap and similar isolation technologies heavily relying on namespaces (mount and other ones) sounds like an off-topic in the thread where udisks2 magic is the most likely issue.

Re: [partly solved] Re: mounting media in plasma5

2023-07-04 Thread gene heskett
On 7/4/23 08:11, Greg Wooledge wrote: On Tue, Jul 04, 2023 at 01:24:17PM +0200, Hans wrote: But ne thing I could not understand, maybe someone can answer this: When Plasma5 (KDE) or any other application is creating a new mount below /media/, where does this new folder gets its ACL rules? The

Re: [partly solved] Re: mounting media in plasma5

2023-07-04 Thread Hans
Am Dienstag, 4. Juli 2023, 14:11:19 CEST schrieb Greg Wooledge: Hi Greg, yes, that is exactly the point I was looking for. As I had no clue, where t start looking at, your advice is the one. Thank yu very much! I will read and leran now, and now that I know, what is related, I will be able to g

Re: [partly solved] Re: mounting media in plasma5

2023-07-04 Thread Greg Wooledge
On Tue, Jul 04, 2023 at 01:24:17PM +0200, Hans wrote: > But ne thing I could not understand, maybe someone can answer this: > > When Plasma5 (KDE) or any other application is creating a new mount > below /media/, where does this new folder gets its ACL rules? There is no such thing as "or any ot

[partly solved] Re: mounting media in plasma5

2023-07-04 Thread Hans
Ok, after some learning phase I could solve my problem. I used getfacl and setfacl to set the correct (and wanted) rights for the required directory. And I understood, that the ACL rules are stored in special blocks of the filesystem. So far, so clear. But ne thing I could not understand, ma

Re: mounting media in plasma5

2023-07-03 Thread Max Nikulin
On 03/07/2023 20:45, Greg Wooledge wrote: Who or what mounted the device? udiskd (udisks2 package) in response to a d-bus call from GUI. There is the udisksctl(1) CLI tool as well. On an external ex4 drive it is possible to chown directories to a specific user or a group, however it would n

Re: mounting media in plasma5

2023-07-03 Thread Bob McGowan
On 7/3/23 07:36 AM, Hans wrote: An ext4 file system has its own internal Unix ownerships and permissions. When mounted, those ownerships and permissions are what determine who can read or write to each file/directory within the file system. Yes, I know. The ACL that's being added at the root di

Re: mounting media in plasma5

2023-07-03 Thread Hans
> An ext4 file system has its own internal Unix ownerships and permissions. > When mounted, those ownerships and permissions are what determine who > can read or write to each file/directory within the file system. Yes, I know. > > The ACL that's being added at the root directory of the mounted f

Re: mounting media in plasma5

2023-07-03 Thread Greg Wooledge
On Mon, Jul 03, 2023 at 04:09:23PM +0200, Hans wrote: > > If not: Can you create a new file in /media/myusername/ ? > > Nope, I can not. I was at a customer today and did an upgrade from bullseye > to bookworm and there I discvered this issue the first time, as he has a > hardrive with ext4. As

Re: mounting media in plasma5

2023-07-03 Thread Hans
Am Montag, 3. Juli 2023, 16:02:34 CEST schrieb Thomas Schmitt: > Hi, > > Hans wrote: > > getfacl /media/myusername/ > > [...] > > user:myusername:r-x > > I wonder why the desktop did not give you write permission. > Does > mount | grep /media/myusername > show option "ro" in the part of the out

Re: mounting media in plasma5

2023-07-03 Thread Hans
Ok, I learned now, that I can either clear the directory /media/myusername frm ACL, or I can set special settings with "setfacl" or deinstall acl (worst idea). But what d you suggest, should I do? I believe, there is some configuration file, where ACL are preset or preconfigured. Remember, I am

Re: mounting media in plasma5

2023-07-03 Thread Thomas Schmitt
Hi, Hans wrote: > getfacl /media/myusername/ > [...] > user:myusername:r-x I wonder why the desktop did not give you write permission. Does mount | grep /media/myusername show option "ro" in the part of the output line which is in "()" brackets ? If not: Can you create a new file in /media/myu

Re: mounting media in plasma5

2023-07-03 Thread Hans
The device is a usb-harddrive, formatted with ext4. It is connected to an usb port, and the user is mounting it using the option in plasma5 (KDE). So it is plasma5 which is mounting the device. As I did not use ACL in the past, I am just crawling through docs and the web, to learn, how to set

Re: mounting media in plasma5

2023-07-03 Thread Greg Wooledge
On Mon, Jul 03, 2023 at 03:40:22PM +0200, Hans wrote: > getfacl /media/myusername/ > getfacl: Entferne führende '/' von absoluten Pfadnamen > # file: media/myusername/ > # owner: root > # group: root > user::rwx > user:myusername:r-x > group::--- > mask::r-x > other::--- > Exchanged my r

Re: mounting media in plasma5

2023-07-03 Thread Hans
Am Montag, 3. Juli 2023, 15:16:22 CEST schrieb Thomas Schmitt: Hi Thomas, good hint! Yes, of course ACL. I forgot about it. This is the output: getfacl /media/myusername/ getfacl: Entferne führende '/' von absoluten Pfadnamen # file: media/myusername/ # owner: root # group: root user::rwx

Re: mounting media in plasma5

2023-07-03 Thread Thomas Schmitt
Hi, > drwxr-x---+  2 root root 4096 24. Jun 18:55 myusername > The device will be mounted under "/media/myusername/", but when I look. I > see owner rot and group root. And only root is allowed to read and write > into this folder. The "+" indicates the presence of ACL. What do you get from g

mounting media in plasma5

2023-07-03 Thread Hans
so that the user, who is mounting a device with ext4-filesystem can read and write it. With fat32-filesystem this issue (f course), des not appear. Any hint, what I should check or where I can change this? Of course another option can be, to change the directory /media/myusername to owners

Re: Problem mounting encrypted blu-ray disc or image

2022-07-25 Thread B.M.
Hello again First of all, I tested all my BD backup discs now, and there are no problems from #1 (2017) - #12 (05/2018) as well as #14 - #17 (2019-05/2020). # 13 from 03/2019 fails. #1 to #10 are all from 05/2017, they're the first BD backup at all and I assume I used some manual workflow back th

Re: Problem mounting encrypted blu-ray disc or image

2022-07-11 Thread Nicolas George
to...@tuxteam.de (12022-07-10): > But then, always doing sync twice looks like a very mild measure, and > far cheaper than seeing a therapist. Especially given that the second > sync will typically be very quick. If it's working, I'd go with that :) > > Since writing to USBs for me mostly involves

Re: Problem mounting encrypted blu-ray disc or image

2022-07-11 Thread Thomas Schmitt
Hi, B.M. wrote: > Do I understand correctly, you say that this Pioneer drive doesn't work well > with Verbatim BD-RE, i.e. their rewriteable BDs. Yes. The problem is with the high reading speed of the drive and with a physical flaw of Verbatim BD-RE (CMCMAG/CN2/0). The flaw is that there are lett

Re: Problem mounting encrypted blu-ray disc or image

2022-07-11 Thread B.M.
> Good questions. Make some experiments. :)) > At least the manual intervention is a good suspect because it occurs exactly > when you get undecryptable images. Will do later. > I see in your script: > > umount /mnt/BDbackup > cryptsetup luksClose /dev/mapper/BDbackup > losetup -d $IM

Re: Problem mounting encrypted blu-ray disc or image

2022-07-10 Thread David Christensen
On 7/10/22 12:10, to...@tuxteam.de wrote: ... I do use sync much less these days after having discovered dd's oflag=sync. +1 When doing pipelines involving 'dd bs=1M ...', I have also found 'iflag=fullblock' to be useful. David

Re: Problem mounting encrypted blu-ray disc or image

2022-07-10 Thread tomas
On Sun, Jul 10, 2022 at 07:01:49PM +0200, Nicolas George wrote: > fxkl4...@protonmail.com (12022-07-10): > > I would have nightmares about corrupt data haunting me :) > > Well, you can see a therapist, or you can conduct the experiment I > suggested: But then, always doing sync twice looks like a

Re: Problem mounting encrypted blu-ray disc or image

2022-07-10 Thread Nicolas George
fxkl4...@protonmail.com (12022-07-10): > I would have nightmares about corrupt data haunting me :) Well, you can see a therapist, or you can conduct the experiment I suggested: > > You can check for yourself: mount a slow USB stick, create file that is > > just large enough to fit in memory with

Re: Problem mounting encrypted blu-ray disc or image

2022-07-10 Thread fxkl47BF
On Sun, 10 Jul 2022, Nicolas George wrote: > fxkl4...@protonmail.com (12022-07-10): >> I'm just flapping my gums >> As a systems administrator for UNIX systems I wrote more than a few scripts >> Many time I found it necessary to put a sleep between operations >> Several decades ago I was taught to

Re: Problem mounting encrypted blu-ray disc or image

2022-07-10 Thread Nicolas George
fxkl4...@protonmail.com (12022-07-10): > I'm just flapping my gums > As a systems administrator for UNIX systems I wrote more than a few scripts > Many time I found it necessary to put a sleep between operations > Several decades ago I was taught to type sync and then type sync again before > unmo

Re: Problem mounting encrypted blu-ray disc or image

2022-07-10 Thread fxkl47BF
I'm just flapping my gums As a systems administrator for UNIX systems I wrote more than a few scripts Many time I found it necessary to put a sleep between operations Several decades ago I was taught to type sync and then type sync again before unmounting a drive The only reason I ever got was tha

Re: Problem mounting encrypted blu-ray disc or image

2022-07-10 Thread Thomas Schmitt
Hi, i wrote: > > No > > cryptsetup luksClose /dev/mapper/BDbackup > > between remove and burn ? B.M. wrote: > To be honest, I cannot say for sure, so maybe yes. But: what would be the > implication? The fs inside is already unmounted, is cryptsetup luksClose > modifying anything within the ima

Re: Problem mounting encrypted blu-ray disc or image

2022-07-10 Thread B.M.
> No > cryptsetup luksClose /dev/mapper/BDbackup > between remove and burn ? To be honest, I cannot say for sure, so maybe yes. But: what would be the implication? The fs inside is already unmounted, is cryptsetup luksClose modifying anything within the image? > Andy Polyakov decided to format

Re: Problem mounting encrypted blu-ray disc or image

2022-07-10 Thread Thomas Schmitt
Hi, Tim Woodall wrote: > cdromSHA=$( dd status=progress if=/dev/cdrom bs=1k count=$maxsize | > sha1sum | cut -d' ' -f1 ) > [...] > It's unusual, but I have had instances where the burn has completed > without any issues but the verify has failed. When that happens I got > several failures close to

Re: Problem mounting encrypted blu-ray disc or image

2022-07-09 Thread Tim Woodall
On Sat, 9 Jul 2022, B.M. wrote: Verifying that your procdure with two UDF images is not the culprit would help even if the result is boringly ok, as we expect. (Or we are in for a surprise ...) I don't have two UDF images. Not been following this closely, but I do something very similar and

Re: Problem mounting encrypted blu-ray disc or image

2022-07-09 Thread David Christensen
On 7/9/22 08:41, B.M. wrote: If you want you can have a look at my script, I attached it to this mail... I have written several generations of such scripts in Bourne and Perl over the past 3+ decades. They all have obvious and inobvious limitations and bugs. What we both have are progra

Re: Problem mounting encrypted blu-ray disc or image

2022-07-09 Thread Thomas Schmitt
Hi, B.M. wrote: > If you want you can have a look at my script, I attached it to this mail... Will do. (There must be some rational explanation ...) > "Filesystem full" is not handled at all. Typically if this happens it's > quite late i.e. most folders are already backuped and I do the followi

Re: Problem mounting encrypted blu-ray disc or image

2022-07-09 Thread B.M.
> > > A UDF filesystem image is supposed to bear at its start 32 KiB of zeros. > > B.M. wrote: > > This is indeed the case: > > [...] > > For a readable disk, this look like you said: Only zeros. > > So it looks like at least a part of the problem is decryption. Agreed > > > If UDF does not work

Re: Problem mounting encrypted blu-ray disc or image

2022-07-07 Thread Thomas Schmitt
Hi, i wrote: > > A UDF filesystem image is supposed to bear at its start 32 KiB of zeros. B.M. wrote: > This is indeed the case: > [...] > For a readable disk, this look like you said: Only zeros. So it looks like at least a part of the problem is decryption. > > If UDF does not work even unen

Re: Problem mounting encrypted blu-ray disc or image

2022-07-07 Thread B.M.
: 24064000K # 24438784K according to dvd+rw-mediainfo but creates at # least sometimes INVALID ADDRESS FOR WRITE; # alternative according to internet research: 23500M IMGFILE=/home/TMP_BKP/backup.img IMGLOOP=`losetup -f` [...] # Prepare loopback device: echo "Preparing loopback device..." tou

Re: Problem mounting encrypted blu-ray disc or image

2022-07-05 Thread Thomas Schmitt
Hi, B.M. wrote: > file "$IMGFILE" > LUKS encrypted file, ver 2 [, , sha256] UUID: > 835847ff-2cb3-4c6d-aa04-d3b79010a2d3 So it did not stay unencrypted by mistake. (I assume this is one of the unreadable images.) > mount -t udf -o novrs /dev/mapper/BDbackup /mnt/BDbackup > [62614.207920] UDF-f

Re: Problem mounting encrypted blu-ray disc or image

2022-07-05 Thread B.M.
der to use --verbose and/or --debug with the two runs of > cryptsetup luksOpen. Maybe you see a reason why they are at odds. > > > Have a nice day :) > > Thomas Well, I can provide you with: file "$IMGFILE" LUKS encrypted file, ver 2 [, , sha256] UUID: 835847ff-2cb3-4c

Re: Problem mounting encrypted blu-ray disc or image

2022-07-04 Thread David Christensen
On 7/4/22 05:36, B.M. wrote: Hello I create encrypted backups on blu-ray discs for some years now with a bash script, but now I encountered a problem mounting some of these discs (but not all of them - in fact, my last backups consist of two discs each, and I cannot mount the first one but I

Re: Problem mounting encrypted blu-ray disc or image

2022-07-04 Thread Thomas Schmitt
Hi, B.M. wrote that dmesg reports: > UDF-fs: warning (device dm-10): udf_load_vrs: No VRS found That's a very early stage of UDF recognition. Given that you were able to copy files into that UDF image by help of the Linux kernel driver, i deem it improbable that the properly decrypted UDF format

  1   2   3   4   5   6   7   8   9   10   >