Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #212535
| From | Dennis Wicks <wix@mgssub.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: mount weirdness |
| Date | 2019-08-09 22:00 +0200 |
| Message-ID | <ytjdn-6M9-7@gated-at.bofh.it> (permalink) |
| References | <yrRVU-17f-13@gated-at.bofh.it> <ysLOp-2NH-1@gated-at.bofh.it> <ysRh7-6dT-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
David Wright wrote on 8/8/19 9:04 AM: > On Thu 08 Aug 2019 at 08:19:22 (-0000), Curt wrote: >> On 2019-08-05, Dennis Wicks <wix@mgssub.com> wrote: >>> So anyway, I typed in "sudo mount /dev/sdb2 /wa1" and it >>> seemed to finish successfully, but "ls /wa1" indicated that >>> in fact it had not. Nothing mounted on wa1! Many other tests >>> told me the same thing. "umount /wa1" said "not mounted"! >> >> Would this be the result if /dev/sdb2 were already mounted (i.e. nothing?). > > Try it. I, at least, would be interested in the result. > So far, the voting is 2-1 against seeing what I see: > > wren 08:50:11 ~# lsblk -f | grep sda7 > ├─sda7 ext4 swan07 4a4e352f-2180-4083-92b4-f46e4e0104b4 /wrenbk > wren 08:50:26 ~# mkdir /wa1 /somethingelse > wren 08:50:49 ~# mount /dev/sda7 /somethingelse > mount: /dev/sda7 is already mounted or /somethingelse busy > /dev/sda7 is already mounted on /wrenbk > 32 wren 08:51:16 ~# mount /dev/sda7 /wa1 > mount: /dev/sda7 is already mounted or /wa1 busy > /dev/sda7 is already mounted on /wrenbk > 32 wren 08:51:31 ~# rmdir /wa1 /somethingelse > wren 08:51:53 ~# > > By way of explanation, the prompt is > export PROMPT_COMMAND='MYPROMPT="$? " && [ "$MYPROMPT" = "0 " ] && MYPROMPT=""' > export PS1='\[\e[1;33;41m\]$MYPROMPT\[\e[1;37;44m\]\H \t \w\[\e[0m\]\$ ' # blue > but I normally cut it to reduce clutter. > >> Many other tests. What about 'mount' from an xterm to see what's mounted >> and what ain't and where? >> >> Did you show your /etc/fstab file (cut and paste)? If so, I must've missed >> it. >> >> BTW, what's with the exclamation points? Makes you seem enthusiastic. > > Yes, I couldn't figure that out, nor what good a note in /etc/fstab > would do (in the reply to Thomas). Does one peruse that file each time > one reboots? > > Cheers, > David. > > Greetings; What system are you running, David? I am running vanilla Debian bullseye, recently upgraded. Been running Debian for years and have never gotten those errors. This is what happens to me. wix@dgwicks:~$ s mount /dev/sdc1 /test1 wix@dgwicks:~$ s mount /dev/sdc1 /test2 wix@dgwicks:~$ findmnt /dev/sdc1 TARGET SOURCE FSTYPE OPTIONS /test1 /dev/sdc1 xfs rw,relatime,attr2,inode64,noquota /test2 /dev/sdc1 xfs rw,relatime,attr2,inode64,noquota wix@dgwicks:~$ wix@dgwicks:~$ s mount -v /dev/sdc1 /work-1 mount: /dev/sdc1 mounted on /work-1. wix@dgwicks:~$ findmnt /dev/sdc1 TARGET SOURCE FSTYPE OPTIONS /test1 /dev/sdc1 xfs rw,relatime,attr2,inode64,noquota /test2 /dev/sdc1 xfs rw,relatime,attr2,inode64,noquota /work-1 /dev/sdc1 xfs rw,relatime,attr2,inode64,noquota wix@dgwicks:~$ Do you have some environment variable set or something in an ini or rc file that makes mount behave in a more strict way than standard? No, I don't look at fstab every time I reboot. Just when I get things like failed mounts. In which case seeing that note will remind me what to look at/for. Regards, Dennis
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
mount weirdness Dennis Wicks <wix@mgssub.com> - 2019-08-05 22:40 +0200
Re: mount weirdness Andrei POPESCU <andreimpopescu@gmail.com> - 2019-08-06 08:10 +0200
Re: mount weirdness Dennis Wicks <wix@mgssub.com> - 2019-08-06 17:10 +0200
Re: mount weirdness rhkramer@gmail.com - 2019-08-06 17:40 +0200
Re: mount weirdness Dennis Wicks <wix@mgssub.com> - 2019-08-06 19:40 +0200
Re: mount weirdness Richard Hector <richard@walnut.gen.nz> - 2019-08-06 19:50 +0200
Re: mount weirdness Dennis Wicks <wix@mgssub.com> - 2019-08-06 20:00 +0200
Re: mount weirdness Richard Hector <richard@walnut.gen.nz> - 2019-08-06 20:20 +0200
Re: mount weirdness Felix Miata <mrmazda@earthlink.net> - 2019-08-06 17:40 +0200
Re: mount weirdness Dennis Wicks <wix@mgssub.com> - 2019-08-06 19:30 +0200
Re: mount weirdness "Thomas Schmitt" <scdbackup@gmx.net> - 2019-08-06 17:40 +0200
Re: mount weirdness Dennis Wicks <wix@mgssub.com> - 2019-08-06 19:20 +0200
Re: mount weirdness David Wright <deblis@lionunicorn.co.uk> - 2019-08-06 20:50 +0200
Re: mount weirdness Dennis Wicks <wix@mgssub.com> - 2019-08-07 19:50 +0200
Re: mount weirdness Greg Wooledge <wooledg@eeg.ccf.org> - 2019-08-07 20:00 +0200
Re: mount weirdness David Wright <deblis@lionunicorn.co.uk> - 2019-08-07 22:50 +0200
Re: mount weirdness "Thomas Schmitt" <scdbackup@gmx.net> - 2019-08-06 21:00 +0200
Re: mount weirdness Dennis Wicks <wix@mgssub.com> - 2019-08-07 20:00 +0200
Re: mount weirdness "Thomas Schmitt" <scdbackup@gmx.net> - 2019-08-07 23:30 +0200
Re: mount weirdness Curt <curty@free.fr> - 2019-08-08 10:20 +0200
Re: mount weirdness Curt <curty@free.fr> - 2019-08-08 10:50 +0200
Re: mount weirdness Dennis Wicks <wix@mgssub.com> - 2019-08-09 21:20 +0200
Re: mount weirdness "Thomas Schmitt" <scdbackup@gmx.net> - 2019-08-08 12:00 +0200
Re: mount weirdness Curt <curty@free.fr> - 2019-08-08 14:40 +0200
Re: mount weirdness Michael Stone <mstone@debian.org> - 2019-08-08 14:40 +0200
Re: mount weirdness Curt <curty@free.fr> - 2019-08-08 15:00 +0200
Re: mount weirdness David Wright <deblis@lionunicorn.co.uk> - 2019-08-08 16:10 +0200
Re: mount weirdness Michael Stone <mstone@debian.org> - 2019-08-08 17:00 +0200
Re: mount weirdness David Wright <deblis@lionunicorn.co.uk> - 2019-08-08 19:10 +0200
Re: mount weirdness Greg Wooledge <wooledg@eeg.ccf.org> - 2019-08-08 19:20 +0200
Re: mount weirdness Michael Stone <mstone@debian.org> - 2019-08-08 20:20 +0200
Re: mount weirdness David Wright <deblis@lionunicorn.co.uk> - 2019-08-09 18:30 +0200
Re: mount weirdness Greg Wooledge <wooledg@eeg.ccf.org> - 2019-08-09 19:00 +0200
Re: mount weirdness "Thomas Schmitt" <scdbackup@gmx.net> - 2019-08-09 20:00 +0200
Re: mount weirdness Dennis Wicks <wix@mgssub.com> - 2019-08-09 22:00 +0200
Re: mount weirdness Dennis Wicks <wix@mgssub.com> - 2019-08-09 21:20 +0200
csiph-web