Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] openrc: why does it check a noauto-fs ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3691
Location: Hamburg

PostPosted: Sat Apr 16, 2016 9:26 pm    Post subject: [solved] openrc: why does it check a noauto-fs ? Reply with quote

I've a server with 2x 3 TB hard disks, each contains a bigger partition, which I excluded from the fsck at boot time (sda5 and sdb1). Therefore I do have this in /etc/fstab :
Code:

/dev/sda5   /home/tinderbox/images1   ext4  noauto    0 2
/dev/sdb1   /home/tinderbox/images2   btrfs noauto    0 2

I do wonder now about these rc.log entires :
Code:
rc boot logging started at Sat Apr 16 21:26:07 2016

 * Setting system clock using the hardware clock [UTC] ...
 [ ok ]
 * Autoloaded 0 module(s)
 * Setting up dm-crypt mappings ...
 *   crypt-swap using: -c aes -h sha1 -d /dev/urandom create crypt-swap /dev/sda3 ...
 [ ok ]
 *     pre_mount: mkswap /dev/mapper/crypt-swap ...
 [ ok ]
 [ ok ]
 * Checking local filesystems  ...
/dev/sda4: clean, 443428/16777216 files, 35819403/67108864 blocks
/dev/sda2: clean, 368/32768 files, 11984/131072 blocks
/dev/sda5: clean, 34586007/165289984 files, 274584668/661131394 blocks
 [ ok ]
 * Remounting root filesystem read/write ...
 [ ok ]
 * Remounting filesystems ...
 [ ok ]


Last edited by toralf on Sun Apr 17, 2016 8:51 am; edited 2 times in total
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6289

PostPosted: Sun Apr 17, 2016 3:39 am    Post subject: Reply with quote

Set the last entry to "0" instead of "2" to omit any checks.
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3691
Location: Hamburg

PostPosted: Sun Apr 17, 2016 8:33 am    Post subject: Reply with quote

mv wrote:
Set the last entry to "0" instead of "2" to omit any checks.
Hhm, ok, but why isn't sdb1 seen then ?
Back to top
View user's profile Send private message
Randy Andy
Veteran
Veteran


Joined: 19 Jun 2007
Posts: 1136
Location: /dev/koelsch

PostPosted: Sun Apr 17, 2016 8:40 am    Post subject: Reply with quote

Hi Toralf,

cause sdb1 is a Btrfs formatted filesystem which doesn't need/support this kind of fsck before mounting. ;-)
_________________
If you want to see a Distro done right, compile it yourself!
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3691
Location: Hamburg

PostPosted: Sun Apr 17, 2016 8:51 am    Post subject: Reply with quote

Randy Andy wrote:
Hi Toralf,

cause sdb1 is a Btrfs formatted filesystem which doesn't need/support this kind of fsck before mounting. ;-)
*head smack* ofc
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum