You are not logged in.

#1 2015-02-21 13:49:10

Vesa P.
Member
Registered: 2014-04-20
Posts: 13

Strange default mount options

As I installed the basic bootstrap system, the mount options set into /etc/fstab by the pac-bootstrapper were "rw,relatime,data=ordered". Booting with those caused falling back to some emergency shell with nothing mounted. Replacing those mount options by "defaults" got things working better.

Maybe the default set "rw,relatime,data=ordered" should be checked by someone "in the know" ?

(Thanks if you bothered.)

Offline

#2 2015-02-21 13:51:05

Spider.007
Member
Registered: 2004-06-20
Posts: 1,175

Re: Strange default mount options

What filesystem are we talking about?

Offline

#3 2015-02-21 15:33:22

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Strange default mount options

And what is the "pac-bootstrapper"?

Offline

#4 2015-02-21 15:44:34

nullified
Member
From: Massachusetts, USA
Registered: 2013-12-09
Posts: 468

Re: Strange default mount options

rw,relatime,data=ordered

has always worked for me, ext4.

What does the rest of fstab look like?


"We may say most aptly, that the Analytical Engine weaves algebraical patterns just as the Jacquard-loom weaves flowers and leaves." - Ada Lovelace

Offline

#5 2015-02-21 17:20:15

Spider.007
Member
Registered: 2004-06-20
Posts: 1,175

Re: Strange default mount options

nullified wrote:
rw,relatime,data=ordered

has always worked for me, ext4.

What does the rest of fstab look like?

Which is probably why 'defaults' resolves to exactly that.... wink

Offline

#6 2015-02-21 17:31:18

Vesa P.
Member
Registered: 2014-04-20
Posts: 13

Re: Strange default mount options

Hi,

Thanks for your replies and info requests.

- "pac-bootstrapper" meant basically "the bootstrap program whose name begins with pac-something"... The exact name is "pacstrap". Sorry, I was a little careless there smile

- The file system is ext4. fstab contains two entries:

/dev/sda1      /         ext4      defaults    0 1
/dev/sdb1    none    swap    defaults    0 1

At boot time, the system complains that the root filesystem was not configured to be mounted read-write... or approximately so, as the boot text goes by quickly. It also complained that the swap thing could not be configured.
     A complaint about not being for read-write also appeared when "rw,relatime,data=ordered" was there instead of "defaults" for /dev/sda1. Not sure about the swap thing then.

I think I created the files system on /dev/sda1 using command "mkfs.ext4 -m 0 /dev/sda1".

Regards,
Vesa

Offline

#7 2015-02-21 18:06:52

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Strange default mount options

Not a Sysadmin issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#8 2015-02-22 09:57:19

Spider.007
Member
Registered: 2004-06-20
Posts: 1,175

Re: Strange default mount options

I guess you actually meant genfstab, since that generated your fstab..? Looking at genfstab, I'm pretty sure it would have put 'defaults' in there, so I'm not sure what you edited? Was the 'defaults' in there or did you replace that? I'm also pretty sure genfstab would never mark your swap partition as fs-checkable...

Also, if you'd post the actual error-message maybe we could actually help you..

Offline

#9 2015-02-23 17:11:51

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Strange default mount options

Spider.007 wrote:

I guess you actually meant genfstab, since that generated your fstab..? Looking at genfstab, I'm pretty sure it would have put 'defaults' in there

This is not correct. genfstab will never use "defaults", as /proc/self/mountinfo (and therefore findmnt) will never show "defaults".

Spider.007 wrote:

I'm also pretty sure genfstab would never mark your swap partition as fs-checkable...

This is correct.

This was not an fstab created by genfstab.

Offline

Board footer

Powered by FluxBB