Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #247998 > unrolled thread
| Started by | ghe2001 <ghe2001@pm.me> |
|---|---|
| First post | 2022-05-08 21:40 +0200 |
| Last post | 2022-05-09 00:00 +0200 |
| Articles | 9 — 6 participants |
Back to article view | Back to linux.debian.user
fstab problem ghe2001 <ghe2001@pm.me> - 2022-05-08 21:40 +0200
Re: fstab problem Felix Miata <mrmazda@earthlink.net> - 2022-05-08 21:50 +0200
Re: fstab problem David Wright <deblis@lionunicorn.co.uk> - 2022-05-08 22:40 +0200
Re: fstab problem ghe2001 <ghe2001@protonmail.com> - 2022-05-08 23:10 +0200
Re: fstab problem David Christensen <dpchrist@holgerdanske.com> - 2022-05-08 23:20 +0200
Re: fstab problem ghe2001 <ghe2001@protonmail.com> - 2022-05-08 23:30 +0200
Re: fstab problem Greg Wooledge <greg@wooledge.org> - 2022-05-08 23:40 +0200
Re: fstab problem ghe2001 <ghe2001@protonmail.com> - 2022-05-09 00:00 +0200
Re: fstab problem David Christensen <dpchrist@holgerdanske.com> - 2022-05-09 00:00 +0200
| From | ghe2001 <ghe2001@pm.me> |
|---|---|
| Date | 2022-05-08 21:40 +0200 |
| Subject | fstab problem |
| Message-ID | <EkUV3-e9D5-3@gated-at.bofh.it> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Supermicro workstation, Debian Buster Mounting disks isn't working with UUIDs. At boot or manually mounting: UUID=301d6d6d-6782-4be3-b979-0cb595ef1a48 /backupDisk ext4 default 1 1 says: mount: /backupDisk: wrong fs type, bad option, bad superblock on /dev/sde1, missing codepage or helper program, or other error. Both mountings work fine with: /dev/sde1 /backupDisk ext4 default 0 0 The UUID line was copied from "https://wiki.debian.org/fstab" -- and changed a little (the 1s in the line are from the website). The sd line is what I've been using for years. The fstab: # <file system> <mount point> <type> <options> <dump> <pass> # / was on /dev/md0p1 during installation # root drive (RAID /dev/sda1 and /dev/sdc1) /dev/md0p1 / ext4 errors=remount-ro 0 1 # misc # UUID=2e7a5901-597e-4ea2-92fb-614d07280b20 /blackHole ext4 default 0 0 # UUID=4e88a5ab-0a0a-491c-ac00-e9d20b66fba7 /mnt ext4 default 0 0 # backup disk UUID=301d6d6d-6782-4be3-b979-0cb595ef1a48 /backupDisk ext4 default 1 1 ### /dev/sde1 /backupDisk ext4 default 0 0 # cd drive /dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0 The manual 'mount /backupDisk' works with the sd version. It gives the same error using the UUID id. I've used the UUID version before, on Buster, and I swear it worked. Any ideas?? -- Glenn English -----BEGIN PGP SIGNATURE----- Version: ProtonMail wsBzBAEBCAAGBQJieBYmACEJEObKK1bRaqt3FiEExEbtoeXBeE9fruv35sor VtFqq3dxEwgAsp4gX6MgzAB+d+oR3fD/ncp/uvmxykZ/7xCP8eCu2srqxRHx hubVEB2lDnztK8N7vbpfoK/aE3bQZQ1IY+lRxyELJjrJYWv/gSfMwlJ2uFAS azCmNj5lDcaHFLFWNyJA5qF1NBBH21GsUbCIqnmHNZIVXQbxe4SNXkaXK3QY LqBQfA7IThqy20K7lbXmDpVDEd/Ve+c4bzeMMzw9z7hdpIKp3j+LL+zgc7qI C0CkXqh0724hJYm6CxonmWakAdNu8bpr5+AoK+DzFwAgCzIbXRIoDuDDlUWQ W587ziD17HO1ASMsU/YEbQxpuTIrv1l1/QqDDZhT6Cxzv1/98H9Lkg== =D/AT -----END PGP SIGNATURE-----
[toc] | [next] | [standalone]
| From | Felix Miata <mrmazda@earthlink.net> |
|---|---|
| Date | 2022-05-08 21:50 +0200 |
| Message-ID | <EkV4J-e9Go-3@gated-at.bofh.it> |
| In reply to | #247998 |
ghe2001 composed on 2022-05-08 19:13 (UTC): > # <file system> <mount point> <type> <options> <dump> <pass> ... > Any ideas?? The only fstab line where 1 belongs in the pass column is the / filesystem. The rest should be 0 or 2. The dump column should be 0 unless you need that filesystem dumped. Most configurations don't need dumped. -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
[toc] | [prev] | [next] | [standalone]
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Date | 2022-05-08 22:40 +0200 |
| Message-ID | <EkVR7-eabj-3@gated-at.bofh.it> |
| In reply to | #247999 |
On Sun 08 May 2022 at 15:46:39 (-0400), Felix Miata wrote: > ghe2001 composed on 2022-05-08 19:13 (UTC): > > > # <file system> <mount point> <type> <options> <dump> <pass> > ... > > Any ideas?? > > The only fstab line where 1 belongs in the pass column is the / filesystem. The > rest should be 0 or 2. The dump column should be 0 unless you need that filesystem > dumped. Most configurations don't need dumped. I don't see any effect of having the extra "1" fields on mounting. BTW I trim off any 0 in the last field, which basically means that a final 0 0 can be omitted, as it's the default. Less cluttered. But I would like to see the output from: $ ls -l /dev/disk/*/301d6d6d-6782-4be3-b979-0cb595ef1a48 If nothing is produced, then try the following: $ ls -lR /dev/disk | grep sde1 Some people might like to obfuscate (or remove) the line that contains the model name and serial number of the disk. Cheers, David.
[toc] | [prev] | [next] | [standalone]
| From | ghe2001 <ghe2001@protonmail.com> |
|---|---|
| Date | 2022-05-08 23:10 +0200 |
| Message-ID | <EkWka-eaAl-9@gated-at.bofh.it> |
| In reply to | #248001 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 ------- Original Message ------- On Sunday, May 8th, 2022 at 2:35 PM, David Wright <deblis@lionunicorn.co.uk> wrote: > On Sun 08 May 2022 at 15:46:39 (-0400), Felix Miata wrote: > > > ghe2001 composed on 2022-05-08 19:13 (UTC): > > > > > # <file system> <mount point> <type> <options> <dump> <pass> > > > ... > > > Any ideas?? > > > I don't see any effect of having the extra "1" fields on mounting. I don't either, which is why I didn't remove them. I just changed them to zeros, just so there'll be something there ... I just tried 'mount /backupDisk' again (with the zeros), and there's no difference. > But I would like to see the output from: > > $ ls -l /dev/disk/*/301d6d6d-6782-4be3-b979-0cb595ef1a48 lrwxrwxrwx 1 root root 10 May 8 12:10 /dev/disk/by-uuid/301d6d6d-6782-4be3-b979-0cb595ef1a48 -> ../../sde1 (The UUID's the same as in fstab.) -- Glenn English -----BEGIN PGP SIGNATURE----- Version: ProtonMail wsBzBAEBCAAGBQJieDCiACEJEJ/XhjGCrIwyFiEELKJzD0JScCVjQA2Xn9eG MYKsjDIyPAf+K5NUFTx7xkNHwzbC1/CgmAfO/KBqWqsz7aO/P4mEX9aYyEE/ /pOC9fP+V8uD4a5Pt7nrlo+kUoqqJej+ZVFgKa5DcgOIN/p3aWThhfWZ0Es4 8ub8sVTk1lBA6Tpad+HMJcwD3HtjHFOmwzcsr1wtR8jirNbOTDaiaygtA2Wx 2x2Xif6Wfw3sUBV/U7MWgtZdGRunYd1ZawFOmMjvNG+0JCfj7oRzhgRgpYRo 8+1mrlYtXGMLHvwu7dE+W01yl28XrZj1K4vD4/123uWlkmsq4beuK8zpEofQ R9DN5RZ059hWnpGwK7yY0SuoVzj9+fDueUxtePmFRgqqnDLCTJmpIQ== =zrtp -----END PGP SIGNATURE-----
[toc] | [prev] | [next] | [standalone]
| From | David Christensen <dpchrist@holgerdanske.com> |
|---|---|
| Date | 2022-05-08 23:20 +0200 |
| Message-ID | <EkWtP-eaDB-5@gated-at.bofh.it> |
| In reply to | #247998 |
On 5/8/22 12:13, ghe2001 wrote: > Supermicro workstation, Debian Buster > > Mounting disks isn't working with UUIDs. At boot or manually mounting: > > UUID=301d6d6d-6782-4be3-b979-0cb595ef1a48 /backupDisk ext4 default 1 1 > > says: > > mount: /backupDisk: wrong fs type, bad option, bad superblock on /dev/sde1, missing codepage or helper program, or other error. What happens if you put the following into /etc/fstab? UUID=301d6d6d-6782-4be3-b979-0cb595ef1a48 /backupDisk ext4 default 0 0 David
[toc] | [prev] | [next] | [standalone]
| From | ghe2001 <ghe2001@protonmail.com> |
|---|---|
| Date | 2022-05-08 23:30 +0200 |
| Message-ID | <EkWDv-eaGB-1@gated-at.bofh.it> |
| In reply to | #248004 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 ------- Original Message ------- On Sunday, May 8th, 2022 at 3:11 PM, David Christensen <dpchrist@holgerdanske.com> wrote: > What happens if you put the following into /etc/fstab? > > UUID=301d6d6d-6782-4be3-b979-0cb595ef1a48 /backupDisk ext4 default 0 0 "wrong fs type..." Like before when it was tabs instead of spaces. -- Glenn English -----BEGIN PGP SIGNATURE----- Version: ProtonMail wsBzBAEBCAAGBQJieDUpACEJEJ/XhjGCrIwyFiEELKJzD0JScCVjQA2Xn9eG MYKsjDKQ4Qf7BQAH6R2neo0nq+M2V9YhTIrahGzOJAHFUWzHtAsjjLfgIi7B j0HglzBE+2nJcaq0Md+BWHhv98tc5AV24HV2SEp3mlmB69TgfmMitOfSmlkB 0KVPfQxytj2wOjpamGGGXE0j57PpJuAJlnj50bbDNyTdsIX2PWxnERISwlsm d6zPgyrg4H1SYq50TIDiFzWTk38KHRy3G/ugahbrBJPWT7OGrxgj7xwrGQW/ yb0uiUQ+efaJ1qJ3hSzVImlzmMmTke20t0K66v9kTKXfUyl/4xrOAcsmxBZ7 Qk6/umXZARA+BlKJF0olP5r2F1KhIt4DdyMhXDGhFy9Whd41Hp980A== =GtWf -----END PGP SIGNATURE-----
[toc] | [prev] | [next] | [standalone]
| From | Greg Wooledge <greg@wooledge.org> |
|---|---|
| Date | 2022-05-08 23:40 +0200 |
| Message-ID | <EkWNb-eaJE-1@gated-at.bofh.it> |
| In reply to | #248005 |
On Sun, May 08, 2022 at 09:25:21PM +0000, ghe2001 wrote: > On Sunday, May 8th, 2022 at 3:11 PM, David Christensen <dpchrist@holgerdanske.com> wrote: > > > What happens if you put the following into /etc/fstab? > > > > UUID=301d6d6d-6782-4be3-b979-0cb595ef1a48 /backupDisk ext4 default 0 0 > > "wrong fs type..." Like before when it was tabs instead of spaces. Is it possible that ext4 is the wrong file system type for that partition?
[toc] | [prev] | [next] | [standalone]
| From | ghe2001 <ghe2001@protonmail.com> |
|---|---|
| Date | 2022-05-09 00:00 +0200 |
| Message-ID | <EkX6x-eaPV-1@gated-at.bofh.it> |
| In reply to | #248007 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 ------- Original Message ------- On Sunday, May 8th, 2022 at 3:31 PM, Greg Wooledge <greg@wooledge.org> wrote: > Is it possible that ext4 is the wrong file system type for that partition? Nope, unless gparted is bent -- just looked. -- Glenn English -----BEGIN PGP SIGNATURE----- Version: ProtonMail wsBzBAEBCAAGBQJieDr1ACEJEJ/XhjGCrIwyFiEELKJzD0JScCVjQA2Xn9eG MYKsjDLCMwf9FVIJdjEQ6tF7H7cBP+GLhTpNNETKWQX5XwSZbdCFvY3H2Jea qChqkIGvcpbnu6wgCc85yLQZv03f8uM/nHkPt4ncgCckUTUaOMmXktrZKHmZ Fd9ikLKg/dkSsmEmJZlX1nQYdgT3ccdENdOD7KtVuhjzGbFkcJMhdgFoFoZD ObGJefkinpCSIWxjuJcmOlp0vL+vipdFaz5px+18IFzFH2XtX+7OiVwXR20J jIvk14D/6or0/S+fgn26q+Yq6+9til0P1dP6oA6j6J8cBTH0Oc7mjQxOWKSG GeoVGNBhnSJ4EGS68VXri+RcX1agdpFYwlPgaubCh2OjcTWodDNB8w== =lwFM -----END PGP SIGNATURE-----
[toc] | [prev] | [next] | [standalone]
| From | David Christensen <dpchrist@holgerdanske.com> |
|---|---|
| Date | 2022-05-09 00:00 +0200 |
| Message-ID | <EkX6x-eaPV-3@gated-at.bofh.it> |
| In reply to | #248005 |
On 5/8/22 14:25, ghe2001 wrote: > > > > ------- Original Message ------- > On Sunday, May 8th, 2022 at 3:11 PM, David Christensen <dpchrist@holgerdanske.com> wrote: > >> What happens if you put the following into /etc/fstab? > >> UUID=301d6d6d-6782-4be3-b979-0cb595ef1a48 /backupDisk ext4 default 0 0 > > "wrong fs type..." Like before when it was tabs instead of spaces. My bad -- default options is spelled 'defaults'. UUID=301d6d6d-6782-4be3-b979-0cb595ef1a48 /backupDisk ext4 defaults 0 0 David
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web