Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
iscsi target - mounting configfs at boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
molletts
n00b
n00b


Joined: 16 Feb 2013
Posts: 27

PostPosted: Wed Nov 13, 2013 11:03 am    Post subject: iscsi target - mounting configfs at boot Reply with quote

Not really sure what forum this belongs in, as there's no openrc-specific one, but I figured that because it's kind of network/server-related, this was probably the most likely place to find someone who's done it before.

I've set up an iscsi target using TCM and sys-block/targetcli but I can't get it to start up automatically at boot with its init script (/etc/init.d/target) because it requires configfs to be mounted.

Adding a line to fstab:

Code:
configfs    /sys/kernel/config    configfs    rw,nodev,nosuid,noexec    0 0


makes no difference - it doesn't get mounted until I log in and type 'mount configfs', after which I can manually start the target using its init script.

What is the correct, "official" way (as opposed to nasty hacks involving editing init scripts etc.) to get configfs to be mounted with the rest of the filesystems such as tmpfs and shm?

Stephen
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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