[Solved] NFS shares root filesystem
[edit] Sorry, my fault. I was using Nautilus m(
and i think it silently switiched to using sftp.... still wondering why no password was prompted.
Hi!
I set up nfs following the wiki. It works, but i can access the whole remote-root-filesystem, not just the nfs-root. Is https://wiki.archlinux.org/index.php/NFS up to date?
greetings
Server:
cat /etc/exports
/srv/nfs4/ 192.168.0.0/24(ro,fsid=0,no_subtree_check)
/srv/nfs4/a 192.168.0.0/24(ro,no_subtree_check)
/srv/nfs4/b 192.168.0.0/24(ro,no_subtree_check)
[root@alarmpi srv]#
Client:
showmount -e 192.168.0.116
Export list for 192.168.0.116:
/srv/nfs4/a 192.168.0.0/24
/srv/nfs4/b 192.168.0.0/24
/srv/nfs4 192.168.0.0/24
Last edited by matto (2015-03-22 14:50:59)
Thanks for the hints. Meanwhile, I have done some more background reading on running Arch in VMWare Player. In particular I followed the guidelines in this article. So it turns out that X requires some special configuration when run from within VMWare.
pacman -S xf86-input-vmmouse xf86-video-vmware xf86-video-vesa svga-dri
and a vmwgfx module is supposed to be loaded. I installed tha packages and tried to load vmwgfx, but when I do lsmod I just can't see it. Then it was pointed out to me that it might be a kernel mismatch problem. The linux installed on nfsroot is 3.6.2 whereas for some reason uname -a gives me version 3.5.6.
I've tried to rebuild initramfs with the new kernel using -k switch of mkinicpio, but it didn't help. It still boots into 3.5.6. It as if the initramfs from the client was taking precedence. So then I went back to the previous image of my VM, updated the system, made appropriate changes to mkinitcpio.conf and run mkinitcpio... and it no longer boots. mount: protocol not supported. I will post the details in my other topic.
Similar Messages
-
[SOLVED] NFS share not mounting at boot
Hi All,
I have an NFS share listed in fstab and it doesn't mount at boot; however, when i mount -a, it mounts fine. Any thoughts?
Thanks.
Shawn
Last edited by shawn.abdushakur (2011-05-06 12:21:27)@damnshock: Good point . Here it is:
# /etc/fstab: static file system information
# <file system> <dir> <type> <options> <dump> <pass>
devpts /dev/pts devpts defaults 0 0
shm /dev/shm tmpfs nodev,nosuid 0 0
#/dev/cdrom /media/cd auto ro,user,noauto,unhide 0 0
#/dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0
#/dev/fd0 /media/fl auto user,noauto 0 0
/dev/sda1 swap swap defaults 0 0
LABEL=arch / ext4 defaults 0 1
UUID=c1a8b2e0-bf9e-4382-ac4e-15c2aec65090 /srv/nfs ext3 defaults 0 0
/srv/nfs/shawn/Documents /home/shawn/Documents none bind
/srv/nfs/shawn/Downloads /home/shawn/Downloads none bind
/srv/nfs/shawn/Music /home/shawn/Music none bind
/srv/nfs/shawn/Pictures /home/shawn/Pictures none bind
/srv/nfs/shawn/Videos /home/shawn/Videos none bind
xbmc:/srv/nfs/watch /home/shawn/Downloads/torrents/watch nfs rsize=8192,wsize=8192,timeo=14,intr -
[SOLVED] mkarchiso: ERROR: failed to detect root filesystem
hi guys!
i am now trying to build my own live archlinux distribution with archiso and with the command "mkarchiso"
at the first step in installing the base when it installs linux and execute "mkinitcpio" it shows me this error:
( 73/111) installing linux [#####################################################################] 100%
>>> Updating module dependencies. Please wait ...
>>> Generating initial ramdisk, using mkinitcpio. Please wait...
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 3.9.9-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
==> ERROR: failed to detect root filesystem
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/initramfs-linux.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 3.9.9-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: bfa
==> WARNING: Possibly missing firmware for module: aic94xx
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
==> Image generation successful
i continue the process with that error and in the "run" step i did this command
# mkarchiso -w work/x86_64/ -r mkinitcpio -p linux run
[root@fuhrer livecd]# mkarchiso -w work/x86_64/ -r mkinitcpio -p linux run
[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO: Command: run
[mkarchiso] INFO: Architecture: x86_64
[mkarchiso] INFO: Working directory: work/x86_64/
[mkarchiso] INFO: Installation directory: arch
[mkarchiso] INFO: Run command: mkinitcpio
==> Starting dry run: 3.9.9-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
==> ERROR: failed to detect root filesystem
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Dry run complete, use -g IMAGE to generate a real image
and the big problem shows when i build the iso file and "dd" it to USB disk, when i choose to boot the live archlinux it tell me
ERROR: failed to detect root filesystem
and that you cannot log to tty
any suggestions?
Last edited by fuhrer (2013-07-22 17:05:07)First run it, without any modification to learn how it works. Check if works. Modify as you need. Check if works...
Do not worry about the mkinitcpio error, because such initramfs images should not be used for boot live medium. You can see that profiles uses own mkinitcpio.conf with at least archiso hook
Running mkarchiso directly is not the right way, at least if you do not know how things works.
[root@exequiel tmp]# cp -r /usr/share/archiso/configs/baseline .
[root@exequiel tmp]# cd baseline
[root@exequiel baseline]# ./build.sh
[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO: Command: init
[mkarchiso] INFO: Architecture: x86_64
[mkarchiso] INFO: Working directory: work
[mkarchiso] INFO: Installation directory: arch
[mkarchiso] INFO: Pacman config file: /etc/pacman.conf
[mkarchiso] INFO: Installing packages to 'work/root-image/'...
:: Synchronizing package databases...
core 103.0 KiB 12.6M/s 00:00 [############################################################################] 100%
extra 1439.7 KiB 11.2M/s 00:00 [############################################################################] 100%
community 1990.1 KiB 11.2M/s 00:00 [############################################################################] 100%
multilib 107.3 KiB 11.6M/s 00:00 [############################################################################] 100%
:: There are 51 members in group base:
:: Repository core
1) bash 2) bzip2 3) coreutils 4) cronie 5) cryptsetup 6) device-mapper 7) dhcpcd 8) diffutils 9) e2fsprogs 10) file 11) filesystem 12) findutils 13) gawk 14) gcc-libs 15) gettext 16) glibc
17) grep 18) gzip 19) heirloom-mailx 20) inetutils 21) iproute2 22) iputils 23) jfsutils 24) less 25) licenses 26) linux 27) logrotate 28) lvm2 29) man-db 30) man-pages 31) mdadm 32) nano
33) netctl 34) pacman 35) pciutils 36) pcmciautils 37) perl 38) procps-ng 39) psmisc 40) reiserfsprogs 41) sed 42) shadow 43) sysfsutils 44) systemd-sysvcompat 45) tar 46) texinfo 47) usbutils
48) util-linux 49) vi 50) which 51) xfsprogs
Enter a selection (default=all):
resolving dependencies...
looking for inter-conflicts...
Packages (111):
Name New Version Net Change
core/acl 2.2.52-1 0.39 MiB
core/archlinux-keyring 20130525-2 0.49 MiB
core/attr 2.4.47-1 0.19 MiB
core/ca-certificates 20130610-1 0.25 MiB
core/cracklib 2.8.22-3 1.20 MiB
core/curl 7.31.0-1 1.73 MiB
core/db 5.3.21-1 15.30 MiB
core/dbus 1.6.12-1 1.63 MiB
core/dirmngr 1.1.1-1 0.49 MiB
core/expat 2.1.0-2 0.61 MiB
core/gdbm 1.10-1 0.37 MiB
core/glib2 2.36.3-2 11.66 MiB
core/gmp 5.1.2-1 2.07 MiB
core/gnupg 2.0.20-2 7.14 MiB
core/gpgme 1.4.2-1 0.68 MiB
core/groff 1.22.2-3 8.94 MiB
core/hwids 20130607-1 1.28 MiB
core/iana-etc 2.30-3 3.44 MiB
core/iptables 1.4.19.1-1 1.38 MiB
core/kbd 1.15.5-4 2.83 MiB
core/keyutils 1.5.5-5 0.18 MiB
core/kmod 14-1 0.45 MiB
core/krb5 1.11.3-1 3.86 MiB
core/libarchive 3.1.2-1 3.19 MiB
core/libassuan 2.1.1-1 0.17 MiB
core/libcap 2.22-5 0.13 MiB
core/libffi 3.0.13-3 0.10 MiB
core/libgcrypt 1.5.2-1 0.68 MiB
core/libgpg-error 1.12-1 0.33 MiB
core/libgssglue 0.4-1 0.19 MiB
core/libksba 1.3.0-1 0.30 MiB
core/libldap 2.4.35-4 2.15 MiB
core/libpipeline 1.2.4-1 0.08 MiB
core/libsasl 2.1.26-4 0.54 MiB
core/libssh2 1.4.3-1 1.19 MiB
core/libtirpc 0.2.3-1 0.68 MiB
core/libusbx 1.0.15-1 0.15 MiB
core/linux-api-headers 3.8.4-1 4.58 MiB
core/linux-firmware 20130610-1 51.25 MiB
core/lzo2 2.06-1 0.61 MiB
core/mkinitcpio 0.14.0-1 0.16 MiB
core/mkinitcpio-busybox 1.20.2-1 0.34 MiB
core/mpfr 3.1.2-1 1.50 MiB
core/ncurses 5.9-5 9.75 MiB
core/openresolv 3.5.5-1 0.04 MiB
core/openssl 1.0.1.e-3 11.38 MiB
core/pacman-mirrorlist 20130626-1 0.02 MiB
core/pam 1.1.6-4 3.41 MiB
core/pambase 20130113-1 0.04 MiB
core/pcre 8.33-1 4.83 MiB
core/pinentry 0.8.3-1 0.33 MiB
core/popt 1.16-6 0.43 MiB
core/pth 2.0.7-4 0.21 MiB
core/readline 6.2.004-1 1.20 MiB
core/run-parts 4.3.4-1 0.11 MiB
core/systemd 204-3 14.59 MiB
core/sysvinit-tools 2.88-11 0.07 MiB
core/tzdata 2013d-1 1.84 MiB
core/xz 5.0.5-1 0.90 MiB
core/zlib 1.2.8-1 0.30 MiB
core/bash 4.2.045-4 3.51 MiB
core/bzip2 1.0.6-4 0.25 MiB
core/coreutils 8.21-2 13.27 MiB
core/cronie 1.4.9-5 0.15 MiB
core/cryptsetup 1.6.1-2 0.71 MiB
core/device-mapper 2.02.98-4 0.52 MiB
core/dhcpcd 5.6.8-3 0.16 MiB
core/diffutils 3.3-1 0.43 MiB
core/e2fsprogs 1.42.8-1 3.16 MiB
core/file 5.14-1 2.71 MiB
core/filesystem 2013.05-2 0.01 MiB
core/findutils 4.4.2-5 1.70 MiB
core/gawk 4.1.0-1 2.11 MiB
core/gcc-libs 4.8.1-1 3.41 MiB
core/gettext 0.18.3-1 11.10 MiB
core/glibc 2.17-6 35.24 MiB
core/grep 2.14-2 1.33 MiB
core/gzip 1.6-1 0.18 MiB
core/heirloom-mailx 12.5-3 0.46 MiB
core/inetutils 1.9.1-6 0.97 MiB
core/iproute2 3.9.0-2 1.37 MiB
core/iputils 20121221-2 0.21 MiB
core/jfsutils 1.1.15-4 0.98 MiB
core/less 458-1 0.22 MiB
core/licenses 20130203-1 0.53 MiB
core/linux 3.9.9-1 63.98 MiB
core/logrotate 3.8.5-1 0.07 MiB
core/lvm2 2.02.98-4 3.10 MiB
core/man-db 2.6.5-1 1.26 MiB
core/man-pages 3.52-1 4.63 MiB
core/mdadm 3.2.6-4 1.18 MiB
core/nano 2.2.6-2 1.49 MiB
core/netctl 1.1-1 0.16 MiB
core/pacman 4.1.2-1 4.04 MiB
core/pciutils 3.2.0-3 0.34 MiB
core/pcmciautils 018-7 0.05 MiB
core/perl 5.18.0-1 47.64 MiB
core/procps-ng 3.3.8-2 0.59 MiB
core/psmisc 22.20-1 0.73 MiB
core/reiserfsprogs 3.6.23-1 0.95 MiB
core/sed 4.2.2-3 0.76 MiB
core/shadow 4.1.5.1-6 3.88 MiB
core/sysfsutils 2.1.0-8 0.17 MiB
core/systemd-sysvcompat 204-3 0.03 MiB
core/tar 1.26-4 2.33 MiB
core/texinfo 5.1-1 8.62 MiB
core/usbutils 007-1 0.17 MiB
core/util-linux 2.23.1-2 8.92 MiB
core/vi 1:050325-3 0.33 MiB
core/which 2.20-6 0.06 MiB
core/xfsprogs 3.1.11-1 3.29 MiB
Total Installed Size: 427.79 MiB
:: Proceed with installation? [Y/n]
(111/111) checking keys in keyring [############################################################################] 100%
(111/111) checking package integrity [############################################################################] 100%
(111/111) loading package files [############################################################################] 100%
(111/111) checking for file conflicts [############################################################################] 100%
(111/111) checking available disk space [############################################################################] 100%
( 1/111) installing linux-api-headers [############################################################################] 100%
( 2/111) installing tzdata [############################################################################] 100%
( 3/111) installing iana-etc [############################################################################] 100%
( 4/111) installing filesystem [############################################################################] 100%
warning: directory permissions differ on /tmp/baseline/work/root-image/run/
filesystem: 1777 package: 755
( 5/111) installing glibc [############################################################################] 100%
( 6/111) installing ncurses [############################################################################] 100%
( 7/111) installing readline [############################################################################] 100%
( 8/111) installing bash [############################################################################] 100%
( 9/111) installing bzip2 [############################################################################] 100%
( 10/111) installing gcc-libs [############################################################################] 100%
( 11/111) installing db [############################################################################] 100%
( 12/111) installing zlib [############################################################################] 100%
( 13/111) installing cracklib [############################################################################] 100%
( 14/111) installing libgssglue [############################################################################] 100%
( 15/111) installing libtirpc [############################################################################] 100%
( 16/111) installing pambase [############################################################################] 100%
( 17/111) installing pam [############################################################################] 100%
( 18/111) installing attr [############################################################################] 100%
( 19/111) installing acl [############################################################################] 100%
( 20/111) installing gmp [############################################################################] 100%
( 21/111) installing libcap [############################################################################] 100%
( 22/111) installing coreutils [############################################################################] 100%
( 23/111) installing run-parts [############################################################################] 100%
( 24/111) installing cronie [############################################################################] 100%
Optional dependencies for cronie
pm-utils: defer anacron on battery power
smtp-server: send job output via email
smtp-forwarder: forward job output to email server
( 25/111) installing expat [############################################################################] 100%
( 26/111) installing dbus [############################################################################] 100%
Optional dependencies for dbus
libx11: dbus-launch support
( 27/111) installing pcre [############################################################################] 100%
( 28/111) installing libffi [############################################################################] 100%
( 29/111) installing glib2 [############################################################################] 100%
Optional dependencies for glib2
python2: for gdbus-codegen and gtester-report
elfutils: gresource inspection tool
( 30/111) installing kbd [############################################################################] 100%
( 31/111) installing kmod [############################################################################] 100%
( 32/111) installing hwids [############################################################################] 100%
( 33/111) installing libgpg-error [############################################################################] 100%
( 34/111) installing libgcrypt [############################################################################] 100%
( 35/111) installing shadow [############################################################################] 100%
( 36/111) installing util-linux [############################################################################] 100%
( 37/111) installing xz [############################################################################] 100%
( 38/111) installing systemd [############################################################################] 100%
Initializing machine ID from random generator.
ln -s '/usr/lib/systemd/system/[email protected]' '/etc/systemd/system/getty.target.wants/[email protected]'
:: Append 'init=/usr/lib/systemd/systemd' to your kernel command line in your
bootloader to replace sysvinit with systemd, or install systemd-sysvcompat
Optional dependencies for systemd
cryptsetup: required for encrypted block devices [pending]
libmicrohttpd: systemd-journal-gatewayd
quota-tools: kernel-level quota management
python: systemd library bindings
systemd-sysvcompat: symlink package to provide sysvinit binaries [pending]
( 39/111) installing device-mapper [############################################################################] 100%
( 40/111) installing popt [############################################################################] 100%
( 41/111) installing cryptsetup [############################################################################] 100%
( 42/111) installing dhcpcd [############################################################################] 100%
( 43/111) installing diffutils [############################################################################] 100%
( 44/111) installing e2fsprogs [############################################################################] 100%
( 45/111) installing file [############################################################################] 100%
( 46/111) installing findutils [############################################################################] 100%
( 47/111) installing mpfr [############################################################################] 100%
( 48/111) installing gawk [############################################################################] 100%
( 49/111) installing gettext [############################################################################] 100%
Optional dependencies for gettext
cvs: for autopoint tool
( 50/111) installing grep [############################################################################] 100%
( 51/111) installing less [############################################################################] 100%
( 52/111) installing gzip [############################################################################] 100%
( 53/111) installing gdbm [############################################################################] 100%
( 54/111) installing perl [############################################################################] 100%
( 55/111) installing openssl [############################################################################] 100%
Optional dependencies for openssl
ca-certificates [pending]
( 56/111) installing libsasl [############################################################################] 100%
( 57/111) installing libldap [############################################################################] 100%
( 58/111) installing keyutils [############################################################################] 100%
( 59/111) installing krb5 [############################################################################] 100%
( 60/111) installing heirloom-mailx [############################################################################] 100%
Optional dependencies for heirloom-mailx
smtp-forwarder: for sending mail
( 61/111) installing inetutils [############################################################################] 100%
( 62/111) installing iptables [############################################################################] 100%
( 63/111) installing iproute2 [############################################################################] 100%
Optional dependencies for iproute2
linux-atm: ATM support
( 64/111) installing sysfsutils [############################################################################] 100%
( 65/111) installing iputils [############################################################################] 100%
Optional dependencies for iputils
xinetd: for tftpd
( 66/111) installing jfsutils [############################################################################] 100%
( 67/111) installing licenses [############################################################################] 100%
( 68/111) installing linux-firmware [############################################################################] 100%
( 69/111) installing mkinitcpio-busybox [############################################################################] 100%
( 70/111) installing lzo2 [############################################################################] 100%
( 71/111) installing libarchive [############################################################################] 100%
( 72/111) installing mkinitcpio [############################################################################] 100%
Optional dependencies for mkinitcpio
xz: Use lzma or xz compression for the initramfs image [pending]
bzip2: Use bzip2 compression for the initramfs image [pending]
lzop: Use lzo compression for the initramfs image
mkinitcpio-nfs-utils: Support for root filesystem on NFS
( 73/111) installing linux [############################################################################] 100%
>>> Updating module dependencies. Please wait ...
>>> Generating initial ramdisk, using mkinitcpio. Please wait...
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 3.9.9-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
==> ERROR: failed to detect root filesystem
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/initramfs-linux.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 3.9.9-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: bfa
==> WARNING: Possibly missing firmware for module: aic94xx
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
==> Image generation successful
Optional dependencies for linux
crda: to set the correct wireless channels of your country
( 74/111) installing logrotate [############################################################################] 100%
Optional dependencies for logrotate
cron: scheduled log rotation
( 75/111) installing lvm2 [############################################################################] 100%
( 76/111) installing groff [############################################################################] 100%
Optional dependencies for groff
netpbm: for use together with man -H command interaction in browsers
psutils: for use together with man -H command interaction in browsers
libxaw: for gxditview
( 77/111) installing libpipeline [############################################################################] 100%
( 78/111) installing man-db [############################################################################] 100%
it's recommended to create an initial
database running as root:
"/usr/bin/mandb --quiet"
Optional dependencies for man-db
gzip [pending]
( 79/111) installing man-pages [############################################################################] 100%
( 80/111) installing mdadm [############################################################################] 100%
( 81/111) installing nano [############################################################################] 100%
( 82/111) installing openresolv [############################################################################] 100%
( 83/111) installing netctl [############################################################################] 100%
Optional dependencies for netctl
dialog: for the menu based wifi assistant
dhclient: for DHCP support (or dhcpcd)
dhcpcd: for DHCP support (or dhclient) [pending]
wpa_supplicant: for wireless networking support
ifplugd: for automatic wired connections through netctl-ifplugd
wpa_actiond: for automatic wireless connections through netctl-auto
ifenslave: for bond connections
bridge-utils: for bridge connections
ppp: for pppoe connections
( 84/111) installing sed [############################################################################] 100%
( 85/111) installing ca-certificates [############################################################################] 100%
( 86/111) installing libssh2 [############################################################################] 100%
( 87/111) installing curl [############################################################################] 100%
( 88/111) installing pth [############################################################################] 100%
( 89/111) installing libksba [############################################################################] 100%
( 90/111) installing libassuan [############################################################################] 100%
( 91/111) installing pinentry [############################################################################] 100%
Optional dependencies for pinentry
gtk2: for gtk2 backend
qt4: for qt4 backend
( 92/111) installing dirmngr [############################################################################] 100%
( 93/111) installing gnupg [############################################################################] 100%
Optional dependencies for gnupg
curl: gpg2keys_curl [pending]
libldap: gpg2keys_ldap [pending]
libusb-compat: scdaemon
( 94/111) installing gpgme [############################################################################] 100%
( 95/111) installing pacman-mirrorlist [############################################################################] 100%
( 96/111) installing archlinux-keyring [############################################################################] 100%
( 97/111) installing pacman [############################################################################] 100%
>>> Run `pacman-key --init; pacman-key --populate archlinux`
>>> to import the data required by pacman for package verification.
>>> See: https://www.archlinux.org/news/having-pacman-verify-packages
Optional dependencies for pacman
fakeroot: for makepkg usage as normal user
( 98/111) installing pciutils [############################################################################] 100%
( 99/111) installing pcmciautils [############################################################################] 100%
(100/111) installing procps-ng [############################################################################] 100%
(101/111) installing psmisc [############################################################################] 100%
(102/111) installing reiserfsprogs [############################################################################] 100%
(103/111) installing sysvinit-tools [############################################################################] 100%
(104/111) installing systemd-sysvcompat [############################################################################] 100%
(105/111) installing tar [############################################################################] 100%
(106/111) installing texinfo [############################################################################] 100%
(107/111) installing libusbx [############################################################################] 100%
(108/111) installing usbutils [############################################################################] 100%
Optional dependencies for usbutils
python2: for lsusb.py usage
coreutils: for lsusb.py usage [pending]
(109/111) installing vi [############################################################################] 100%
Optional dependencies for vi
heirloom-mailx: used by the preserve command for notification [pending]
(110/111) installing which [############################################################################] 100%
(111/111) installing xfsprogs [############################################################################] 100%
[mkarchiso] INFO: Packages installed successfully!
[mkarchiso] INFO: Installing packages to 'work/root-image/'...
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
resolving dependencies...
looking for inter-conflicts...
Packages (1):
Name New Version Net Change
core/syslinux 4.06-2 3.35 MiB
Total Installed Size: 3.35 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [############################################################################] 100%
(1/1) checking package integrity [############################################################################] 100%
(1/1) loading package files [############################################################################] 100%
(1/1) checking for file conflicts [############################################################################] 100%
(1/1) checking available disk space [############################################################################] 100%
(1/1) installing syslinux [############################################################################] 100%
==> If you want to use syslinux as your bootloader
==> edit /boot/syslinux/syslinux.cfg and run
==> # /usr/bin/syslinux-install_update -i -a -m
==> to install it.
Optional dependencies for syslinux
perl-passwd-md5: For md5pass
perl-digest-sha1: For sha1pass
mtools: For mkdiskimage and syslinux support
gptfdisk: For GPT support
util-linux: For isohybrid [installed]
[mkarchiso] INFO: Packages installed successfully!
[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO: Command: run
[mkarchiso] INFO: Architecture: x86_64
[mkarchiso] INFO: Working directory: work
[mkarchiso] INFO: Installation directory: arch
[mkarchiso] INFO: Run command: mkinitcpio -c /etc/mkinitcpio-archiso.conf -k /boot/vmlinuz-linux -g /boot/archiso.img
==> Starting build: 3.9.9-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [archiso]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: bfa
==> WARNING: Possibly missing firmware for module: aic94xx
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/archiso.img
==> Image generation successful
[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO: Command: prepare
[mkarchiso] INFO: Architecture: x86_64
[mkarchiso] INFO: Working directory: work
[mkarchiso] INFO: Installation directory: arch
[mkarchiso] INFO: Cleaning up what we can on root-image...
[mkarchiso] INFO: Done!
[mkarchiso] INFO: Target 'work/iso/arch/x86_64/root-image.fs.sfs' does not exist, making it from 'work/root-image'
[mkarchiso] INFO: Creating ext4 image of 1025 MiB...
mke2fs 1.42.8 (20-Jun-2013)
Discarding device blocks: done
warning: 256 blocks unused.
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
65664 inodes, 262144 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=268435456
8 block groups
32768 blocks per group, 32768 fragments per group
8208 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376
Allocating group tables: done
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
[mkarchiso] INFO: Done!
[mkarchiso] INFO: Mounting 'work/root-image.fs' on 'work/mnt/root-image'
[mkarchiso] INFO: Total: 1008 MiB (100%) | Used: 2 MiB (1%) | Avail: 1007 MiB (99%)
[mkarchiso] INFO: Copying 'work/root-image/' to 'work/mnt/root-image/'...
[mkarchiso] INFO: Done!
[mkarchiso] INFO: Total: 1008 MiB (100%) | Used: 552 MiB (55%) | Avail: 457 MiB (45%)
[mkarchiso] INFO: Unmounting 'work/mnt/root-image'
[mkarchiso] INFO: Creating SquashFS image for 'work/root-image.fs', This may take some time...
Parallel mksquashfs: Using 2 processors
Creating 4.0 filesystem on work/root-image.fs.sfs, block size 131072.
Exportable Squashfs 4.0 filesystem, gzip compressed, data block size 131072
compressed data, compressed metadata, compressed fragments, compressed xattrs
duplicates are removed
Filesystem size 193188.71 Kbytes (188.66 Mbytes)
18.41% of uncompressed filesystem size (1049632.29 Kbytes)
Inode table size 10918 bytes (10.66 Kbytes)
33.19% of uncompressed inode table size (32898 bytes)
Directory table size 31 bytes (0.03 Kbytes)
88.57% of uncompressed directory table size (35 bytes)
Number of duplicate files found 0
Number of inodes 2
Number of files 1
Number of fragments 0
Number of symbolic links 0
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 1
Number of ids (unique uids + gids) 1
Number of uids 1
root (0)
Number of gids 1
root (0)
[mkarchiso] INFO: Image creation done in 01:46 minutes
[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO: Command: checksum
[mkarchiso] INFO: Architecture: x86_64
[mkarchiso] INFO: Working directory: work
[mkarchiso] INFO: Installation directory: arch
[mkarchiso] INFO: Target 'work/iso/arch/checksum.i686.md5' does not exist, making it from 'work/iso/arch'
[mkarchiso] INFO: Creating checksum file for self-test (i686)...
[mkarchiso] INFO: Done!
[mkarchiso] INFO: Target 'work/iso/arch/checksum.x86_64.md5' does not exist, making it from 'work/iso/arch'
[mkarchiso] INFO: Creating checksum file for self-test (x86_64)...
[mkarchiso] INFO: Done!
[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO: Command: iso
[mkarchiso] INFO: Architecture: x86_64
[mkarchiso] INFO: Working directory: work
[mkarchiso] INFO: Installation directory: arch
[mkarchiso] INFO: Image name: archlinux-2013.07.21-x86_64.iso
[mkarchiso] INFO: Disk label: ARCH_201307
[mkarchiso] INFO: Disk publisher: Arch Linux <http://www.archlinux.org>
[mkarchiso] INFO: Disk application: Arch Linux Live/Rescue CD
[mkarchiso] INFO: Target 'out/archlinux-2013.07.21-x86_64.iso' does not exist, making it from 'work/iso'
[mkarchiso] INFO: Creating ISO image...
xorriso 1.3.0 : RockRidge filesystem manipulator, libburnia project.
Drive current: -outdev 'stdio:out/archlinux-2013.07.21-x86_64.iso'
Media current: stdio file, overwriteable
Media status : is blank
Media summary: 0 sessions, 0 data blocks, 0 data, 4155m free
Added to ISO image: directory '/'='/tmp/baseline/work/iso'
xorriso : UPDATE : 16 files added in 1 seconds
xorriso : UPDATE : 16 files added in 1 seconds
xorriso : NOTE : Copying to System Area: 432 bytes from file '/tmp/baseline/work/iso/isolinux/isohdpfx.bin'
libisofs: NOTE : Aligned image size to cylinder size by 177 blocks
xorriso : UPDATE : 16.90% done
xorriso : UPDATE : 82.85% done
ISO image produced: 105472 sectors
Written to medium : 105472 sectors at LBA 0
Writing to 'stdio:out/archlinux-2013.07.21-x86_64.iso' completed successfully.
[mkarchiso] INFO: Done! | 206M out/archlinux-2013.07.21-x86_64.iso
Booting:
:: running early hook [udev]
:: running hook [udev]
:: Triggering uevents...
:: running hook [archiso]
:: Mounting '/dev/disk/by-label/ARCH_201307' to '/run/archiso/bootmnt'
:: Device '/dev/disk/by-label/ARCH_201307' mounted successfully.
:: Mounting /run/archiso/cowspace (tmpfs) filesystem, size=75%...
:: Mounting '/dev/loop0' to '/run/archiso/sfs/root-image'
:: Device '/dev/loop0' mounted successfully.
:: Creating '/run/archiso/cowspace/persistent_ARCH_201307/x86_64/root-image.cow' as non-persistent.
:: Mounting '/dev/mapper/arch_root-image' to '/new_root/'
:: Device '/dev/mapper/arch_root-image' mounted successfully.
:: running cleanup hook [udev]
Welcome to Arch Linux!
Expecting device dev-ttyS0.device...
[ OK ] Reached target Remote File Systems.
[ OK ] Listening on LVM2 metadata daemon socket.
[ OK ] Listening on Device-mapper event daemon FIFOs.
[ OK ] Listening on Delayed Shutdown Socket.
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ OK ] Listening on udev Kernel Socket.
[ OK ] Listening on udev Control Socket.
[ OK ] Reached target Paths.
[ OK ] Reached target Encrypted Volumes.
[ OK ] Set up automount Arbitrary Executable File Formats F...utomount Point.
[ OK ] Listening on Journal Socket.
Mounting POSIX Message Queue File System...
Starting Setup Virtual Console...
Starting Create static device nodes in /dev...
Mounting Huge Pages File System...
Starting Apply Kernel Variables...
Mounting Debug File System...
Mounting Configuration File System...
Starting udev Coldplug all Devices...
Starting Journal Service...
[ OK ] Started Journal Service.
[ OK ] Reached target Swap.
Mounting Temporary Directory...
Starting Remount Root and Kernel File Systems...
[ OK ] Mounted POSIX Message Queue File System.
[ OK ] Started Remount Root and Kernel File Systems.
[ OK ] Started Setup Virtual Console.
[ OK ] Started Apply Kernel Variables.
[ OK ] Mounted Huge Pages File System.
[ OK ] Mounted Debug File System.
[ OK ] Started Create static device nodes in /dev.
[ OK ] Mounted Configuration File System.
[ OK ] Mounted Temporary Directory.
Starting udev Kernel Device Manager...
Starting Load Random Seed...
[ OK ] Started Load Random Seed.
[ OK ] Started udev Kernel Device Manager.
[ OK ] Reached target Local File Systems (Pre).
[ OK ] Reached target Local File Systems.
Starting Trigger Flushing of Journal to Persistent Storage...
Starting Recreate Volatile Files and Directories...
[ OK ] Started udev Coldplug all Devices.
[ OK ] Started Recreate Volatile Files and Directories.
Starting Update UTMP about System Reboot/Shutdown...
[ OK ] Started Trigger Flushing of Journal to Persistent Storage.
[ OK ] Started Update UTMP about System Reboot/Shutdown.
[ OK ] Reached target System Initialization.
[ OK ] Reached target Timers.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
Starting Permit User Sessions...
Starting D-Bus System Message Bus...
[ OK ] Started D-Bus System Message Bus.
Starting Login Service...
[ OK ] Started Permit User Sessions.
Starting Getty on tty1...
[ OK ] Started Getty on tty1.
[ OK ] Started Login Service.
[ OK ] Found device /dev/ttyS0.
Starting Serial Getty on ttyS0...
[ OK ] Started Serial Getty on ttyS0.
[ OK ] Reached target Login Prompts.
[ OK ] Reached target Multi-User System.
[ OK ] Reached target Graphical Interface.
Arch Linux 3.9.9-1-ARCH (ttyS0)
localhost login: -
[Solved]NFS Client Not Mounting Shares
Here is my setup:
I have two Arch boxes that I am attempting to setup NFS shares on. The box that is going to be the server is headless FYI. So far, I have installed nfs-utils, started `rpc-idmapd` and `rpc-mountd` successfully on the server, and started `rpc-gssd` successfully on the client.
The folder I am trying to share is the /exports folder.
ls -l /exports
produces
total 8
drwxrwxrw-+ 110 daniel 1004 4096 Dec 6 17:26 Movies
drwxrwxrwx+ 13 daniel users 4096 Jan 8 19:12 TV-Shows
On the server:
/etc/exports
# /etc/exports
# List of directories exported to NFS clients. See exports(5).
# Use exportfs -arv to reread.
# Example for NFSv2 and NFSv3:
# /srv/home hostname1(rw,sync) hostname2(ro,sync)
# Example for NFSv4:
# /srv/nfs4 hostname1(rw,sync,fsid=0)
# /srv/nfs4/home hostname1(rw,sync,nohide)
# Using Kerberos and integrity checking:
# /srv/nfs4 gss/krb5i(rw,sync,fsid=0,crossmnt)
# /srv/nfs4/home gss/krb5i(rw,sync,nohide)
/exports 192.168.1.10(rw,fsid=0)
On the client:
showmount -e 192.168.1.91
Export list for 192.168.1.91:
/exports 192.168.1.10
Everything is looking hunky-dory. However, I go to mount using
sudo mount -t nfs4 192.168.1.91:/exports /mnt/Media
and the mount never takes place. It sits there and does nothing. I CAN, however, kill the process with Ctrl-c.
So does anybody have ANY idea why my shares aren't working.
EDIT: Just thought I should mention that all of the data in the /exports folder is a mount --bind from /mnt/media. All of the /mnt/media is contained on a USB external hard drive. I did notice that there is an ACL.
getfacl /exports
getfacl: Removing leading '/' from absolute path names
# file: exports/
# owner: root
# group: root
user::rwx
group::r-x
other::r-x
Last edited by DaBungalow (2014-01-10 03:18:05)I found what the problem was. Apparently rpc_gssd was causing a problem. Stopping it fixed everything.
-
[SOLVED] MPD through mounted NFS Share
Hi all. I am using MPD paired with Ncmpcpp, and in my configuration (for both mpd & ncmpcpp) I have the music directory set to /mnt/Shares/Music which is where I am mounting a NFS share located on the local network.
However ncmpcpp seems to be only partially reading the directory. In the server directory I have two subdirectories (mp3 and ogg) but my music player seems to only be reading the mp3 directory. I have tried updating the database through ncmpcpp, restarting the computer, restarting mpd through systemctl, and even tried using symlinks within the directory (and having "follow internal" and "follow external" symlinks set to "yes" in /etc/mpd.conf).
None of these seem to work in making mpd read the ogg directory.
Edit: Mounting through NFS automatically chowns the share to the local user, so not only did I have to sudo chown -R <user>:users the music share directory on the host I also had to reconfigure my MPD settings to run as a local user as well in order to have proper permissions for the NFS share. Prior to that it was running system wide as the MPD user. This has solved the problem completely.
Last edited by felixculpa (2012-12-26 05:24:19)WonderWoofy wrote:
Awesome, don't forget to mark your thread as [Solved] by editing your first posts. Sorry I couldn't have been of better help to you. Glad you solved it though.
Edit: I did think it kind of odd (and unlikely) that ogg would not be an automatically supported format, but the source told me otherwise... strange.
Thanks. The Arch community is awesome and I appreciate the help I get in the forums. I am currently updating the database but it is taking quiet some time, so I am not 100% I have fixed the problem. After it is done, and if it works I will update the thread as [Solved].
Thanks again.
Edit: I forgot to mention that I was mistaken in the not reading ogg files part. It was reading only some files from both directories; it just wasn't reading the files it didn't have permission for I'm guessing.
Last edited by felixculpa (2012-12-26 03:47:46) -
[SOLVED] Problem mounting nfs shares
Hello everybody,
I keep getting the following error when I try to mount an NFS share;
mount.nfs4: an incorrect mount option was specified
The corresponding line in /etc/fstab is this:
pc-francois.local:/francois /mnt/pc-francois nfs4 rw,port=2049,noauto,users,intr 0 0
showmount -e pc-francois.local gives this:
Export list for pc-francois.local:
/export/archives 192.168.1.0/24
/export/portage 192.168.1.0/24
/export/francois 10.8.0.0/24,192.168.1.0/24
/export 10.8.0.0/24,192.168.1.0/24
Finally, the nfs related modules are loaded. lsmod | grep nfs gives this:
nfsv4 129119 0
nfsd 228113 13
auth_rpcgss 41857 1 nfsd
nfs 118782 1 nfsv4
lockd 57996 2 nfs,nfsd
grace 1706 2 nfsd,lockd
sunrpc 170119 19 nfs,nfsd,auth_rpcgss,lockd,nfsv4
It works perfectly fine from other client not running on arch linux. Like indicated in the howto, I have enabled and started the services rpcbind.service,nfs-client.target and remote-fs.target
Can somebody explains what is happening ?
Last edited by FrançoisVal (2015-05-02 16:48:14)I finally solved my problem by changing the mount options to this in fstab:
pc-francois.local:/francois /mnt/pc-francois nfs4 rw,proto=tcp,vers=4.0,noauto,users,intr 0 0
One week to find it... Maybe it wants to use nfs 4.1 by default. -
[SOLVED] df -h does not reflect true root filesystem size
Why does df -h show root filesystem as being only 20G?
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/cryptroot 20G 15G 4.6G 76% /
dev 7.7G 0 7.7G 0% /dev
run 7.7G 668K 7.7G 1% /run
tmpfs 7.7G 70M 7.7G 1% /dev/shm
tmpfs 7.7G 0 7.7G 0% /sys/fs/cgroup
tmpfs 7.7G 224K 7.7G 1% /tmp
/dev/sda1 239M 40M 183M 18% /boot
tmpfs 1.6G 8.0K 1.6G 1% /run/user/1000
That is what my df -h output looks like. My setup is full disk encryption using dm-crypt with LUKS, per the guide on arch wiki. I basically created one /boot partition and left the rest of the disk to be an encrypted partition for the root filesystem. So why is my system complaining about (and acting as if it's running out of space)? Have I forgotten something?
Thank you for reading this. Let me know if you need any more logs or info on my setup - I realise I haven't provided very much info here, but I can't think of what to provide.
Last edited by domentoi (2014-12-24 19:02:32)This is lsblk:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 465.8G 0 disk
├─sda1 8:1 0 250M 0 part /boot
└─sda2 8:2 0 465.5G 0 part
└─cryptroot 254:0 0 465.5G 0 crypt /
sdb 8:16 0 14.9G 0 disk
└─sdb1 8:17 0 14.9G 0 part
and fdisk -l
Disk /dev/sdb: 14.9 GiB, 16013942784 bytes, 31277232 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x5da5572f
Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 31275007 31272960 14.9G 73 unknown
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xa5018820
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 514047 512000 250M 83 Linux
/dev/sda2 514048 976773167 976259120 465.5G 83 Linux
Disk /dev/mapper/cryptroot: 465.5 GiB, 499842572288 bytes, 976255024 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/sdc: 1.4 TiB, 1500301908480 bytes, 2930277165 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x445e51a8
And graysky: I thought I made the partition for /boot 250 MB and the encrypted partition 465.5 GB but I'm now quite sure I did something wrong...
Thank you all -
Kinit mounts root filesystem as read only [HELP][solved]
hello
I've being messing around with my mkinitcpio trying to optimize my boot speed, i removed some of the hooks at the beginning i couldn't boot, but then now i can boot but the root filesystem mounts as read only, i tried everything my fstab looks fine, / exists with defaults i tried to mount it referencing by it's uuid or by it's name and i get the same results, it mounts the filesystem as root only all the time no mather what i do.
There is not logs since i started playing with mkinitcpio, or anything i searched everywhere in this forum and around the internet, and i can't find any solution that would work, i restored all the hooks and modules on mkinitcpio and the result it's still the same. i also changed the menu.lst in grub to vga=773 but that's about it.
Can anyone help with this please i can't seem to boot properly.
Regards
Last edited by ricardoduarte (2008-09-14 16:16:25)Hello
Basically what happens it's that it loads all the uDev events then the loopback, it mounts the root read only, then when it checks filesystems it says
/dev/sda4: clean, 205184/481440 files, 1139604/1920356 blocks [fail]
************FILESYSTEM CHECK FAILED****************
* Please repair manually and reboot. Note that the root *
* file system is currently mounted read-only. To remount *
* it read-write: mount -n -o remount,rw / *
* When you exit the maintenance shell the will *
* reboot automatically. *
Now what bugs me its that i can do that mount -n -o remount,rw / with no problems and when i do
e2fsck -f /dev/sda4
it doesn't return any errors just says that 0.9 non continuous.
none of this makes sense to me!! thats why i though that the problem could be coming from mkinitcpio or something
any ideas
Thanks for your help, btw thanks for the quick reply
Regards
Last edited by ricardoduarte (2008-09-14 15:48:49) -
Placing root filesystem on /dev/sda1/FOLDER [SOLVED]
Is it possible for me to place a root filesystem inside a folder on a partition? If so, what would the menu.lst line look like to boot the thing?
Example:
On /dev/sda1 I'd like to have:
/archi686
/arch_x86_64
Last edited by graysky (2011-10-14 23:02:57)Sounds like you want btrfs's subvolumes. This would be extremely awkward with any other filesystem and would require hacking on mkinitcpio.
-
[SOLVED]Unmounting NFS shares before network is brought down
I'm using networkd and I have enabled the network-wait-online service, so at boot-time my NFS shares are mounted after the network becomes available. That all works perfectly.
However, it doesn't work the other way around i.e. when shutting down. The network is brought down, and then systemd attempts to unmount the shares, which obviously doesn't work.
Have I missed a step?
Last edited by tomk (2014-07-04 12:31:47)Strike0 wrote:I'm not using it, but reading your topic made me associate the "nfs-client.target" mentioned here: https://mailman.archlinux.org/pipermail … 26393.html
I checked this out too, but it has a lot of 'Wants' that I don't really need. Maybe I could fix it up, but I use autofs so I don't have this problem (the real autofs, not the systemd one).
% systemctl cat nfs-client.target
# /usr/lib/systemd/system/nfs-client.target
[Unit]
Description=NFS client services
Before=remote-fs-pre.target
Wants=remote-fs-pre.target
# Note: we don't "Wants=rpc-statd.service" as "mount.nfs" will arrange to
# start that on demand if needed.
Wants=rpc-gssd.service rpc-svcgssd.service
Wants=nfs-blkmap.service rpc-statd-notify.service
Before=rpc-gssd.service rpc-svcgssd.service nfs-blkmap.service
[Install]
WantedBy=multi-user.target
WantedBy=remote-fs.target
Last edited by WonderWoofy (2014-06-21 01:00:04) -
[Solved]Root filesystem read-only at boot
Hi,
I can't boot arch. Root filesystem is mounted ro, so nothing works properly. Last boot I make a pacman -Syu without incidences. A few weeks ago I make manual intervention (filesystem upgrade - manual intervention required from latest news). I think that last new (Users of unofficial kernels must enable devtmpfs support) is not the problem since I don't complile the kernel.
dmesg show 2 mount operations to /dev/sda3 (my root partition, EXT4 fs).
mtab have 2 entrys with /sda3. The last shown "ro" flag, and some strange parameters for me .
Maybe is a disk problem? How can I remove this flag, or remount in rw mode?
umount -f don't work.
I use a dual boot with GRUB, and second system is W7.
Thanks in advanced.
Last edited by HermesT (2012-01-14 19:05:56)Some extra info:
from dmesg
[ 1.237581] sda: sda1 sda2 sda3 sda4 < sda5 >
[ 1.829594] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
[ 5.722599] EXT4-fs (sda3): re-mounted. Opts: user_xattr,acl,barrier=1,data=ordered.
mtab
rootfs / rootfs rw 0 0
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
/sys /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
udev /dev devtmpfs rw,nosuid,relatime,size=10240k,nr_inodes=215507,mode=755 0 0
/run /run tmpfs rw,nosuid,nodev,relatime,size=10240k,mode=755 0 0
/dev/sda3 / ext4 ro,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
devpts /dev/pts devpts rw,relatime,mode=600,ptmxmode=000 0 0
shm /dev/shm tmpfs rw,nosuid,nodev,relatime 0 0
/dev/sda1 /media/SYSTEM fuseblk rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 0 0
/dev/sda2 /media/COMPAQ fuseblk rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 0 0
/dev/sda5 /media/Almacen fuseblk rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 0 0
* please, note that rootfs (?) is the same partition as /dev/sda3, like can be seen in df output.
df
S.ficheros 1K-bloques Usado Disponible Uso% Montado en
rootfs 21096088 12132788 7891664 61% /
udev 10240 0 10240 0% /dev
/run 10240 252 9988 3% /run
/dev/sda3 21096088 12132788 7891664 61% /
shm 1550516 0 1550516 0% /dev/shm
/dev/sda1 102396 25744 76652 26% /media/SYSTEM
/dev/sda2 54772576 36097780 18674796 66% /media/COMPAQ
/dev/sda5 548819964 142760132 406059832 27% /media/Almacen -
Hello,
We are on EP 7.0 sp14 (windows) and currently have several CM repositories pointing to external Windows File shares.
Is it possible to point CM Repository to NFS share?
Thanks,
Alex
Edited by: Alex Trosman on Jan 13, 2009 10:14 PMHi Ramalakshmi,
you are using a CM Repository in FSDB Mode. Am I right? If so, check the following:
1. Did you configure your Network Path? The specified user should have full access to the resource.
2. Did you configure the Root Directory? Note: The Root Directory in your Repository Manager mustn't point to the same directory of your network path!!
3. Did you configure the Root Directory for Versions? Note: The Root Directory for Versions mustn't be a subfolder of your Root Directory!! Must point to a folder which contains the subfolders "versions, workingresources, workspaces, wastebasket"!
4. Persistence Mode must be set to "FSDB"
5. Windows Landscape System must be the same as your Network Path.
Hope this helps and will solve your issue.
Best regards,
Denis -
Hello,
I got the following configuration:
NFS-server: Always on, connected via LAN.
NFS-clients: 2 computers, connected via LAN and WLAN. On standby: auto umount NFS-share via system-sleep-hook with systemd.
This works flawlessly some hours or even days. But after some time, the following happens:
1. mount nfs-share: no error message
2a. trying to access that folder via filemanager, e.g. thunar: folder seems to be empty (it isn't on server!), but the correct freesize of the NFS-share on server is displayed in the statusbar.
2b. trying to access that folder via commandline:
$ ls
ls: reading directory .: Input/output error
The very same worked just a few hours before, I haven't changed anything meanwhile. Apart from standby (--> auto umount NFS-share) and resume (manual mount NFS-share) on the clients which worked before, too.
Any idea what's going wrong?
additional info:
server:
/etc/exports
/srv/nfs/myshare 192.168.2.0/24(rw,all_squash,anonuid=33,anongid=33,no_subtree_check)
(yes, the mapping is needed and right.)
clients:
/etc/fstab
servername:/srv/nfs/myshare /home/carl/nfs nfs4 noauto,soft,user,_netdev,timeo=14,rsize=8192,wsize=8192 0 0
/usr/lib/systemd/system-sleep/umount-nfs
#!/bin/sh
case $1 in
pre)
umount -f /home/carl/nfs
esac
Last edited by Carl Karl (2014-09-21 17:07:47)Indeed, there could be something interesting in dmesg on the server:
[ 4.190117] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
[ 4.190596] NFSD: starting 90-second grace period (net ffffffff818a9540)
[ 5.445237] [drm] Enabling RC6 states: RC6 on, RC6p on, RC6pp off
[ 5.895519] r8169 0000:04:00.0 enp4s0: link up
[ 5.895529] IPv6: ADDRCONF(NETDEV_CHANGE): enp4s0: link becomes ready
[72346.265850] usb 3-1: USB disconnect, device number 2
[72346.670926] usb 3-1: new SuperSpeed USB device number 3 using xhci_hcd
[72346.684585] usb-storage 3-1:1.0: USB Mass Storage device detected
[72346.684716] scsi5 : usb-storage 3-1:1.0
[72347.686518] scsi 5:0:0:0: Direct-Access WD Elements 1048 1022 PQ: 0 ANSI: 6
[72347.687606] sd 5:0:0:0: [sdc] 976769024 512-byte logical blocks: (500 GB/465 GiB)
[72347.690295] sd 5:0:0:0: [sdc] Write Protect is off
[72347.690301] sd 5:0:0:0: [sdc] Mode Sense: 47 00 10 08
[72347.692981] sd 5:0:0:0: [sdc] No Caching mode page found
[72347.693025] sd 5:0:0:0: [sdc] Assuming drive cache: write through
[72348.135398] sdc: sdc1
[72348.141458] sd 5:0:0:0: [sdc] Attached SCSI disk
[72348.455737] EXT4-fs (sdc1): recovery complete
[72348.455919] EXT4-fs (sdc1): mounted filesystem with ordered data mode. Opts: (null)
[74276.020331] EXT4-fs error (device sda1): ext4_find_entry:1310: inode #14024711: comm nfsd: reading directory lblock 0
[74276.021107] EXT4-fs error (device sda1): ext4_find_entry:1310: inode #14024711: comm nfsd: reading directory lblock 0
(last one repeats several times...)
Indeed, the NFS-share resists on a external WD harddrive connected via USB, /dev/sdc1.
As suggested in the NFS wiki article, the NFS-share is a bind-mount:
/etc/fstab on server:
# fake-root for NFS
/magnet/owncloud/data/carl/files /srv/nfs/myshare none bind,noauto,x-systemd.automount
while /srv is on /dev/sda1.
The external harddrive has an auto-standby (NOT hdparm...) which isn't causing troubles with other services.
So it seems to be a problem connected to this bind-mount to external USB setup....
I'll try to find out whether there is a way to avoid that.
Thanks so far!
Last edited by Carl Karl (2014-09-16 14:30:02) -
Cannot mount NFS shares using the Finder
Hello all!
I have a directory structure on a OpenSuse NFS Server which I like to browse/read using my MAC OSX 10.5.6. It works like a joy when I am mounting the NFS share on the command line using "sudo":
sudo mount -o resvport nfshost:/full/path/NFS/share /My/mount/point
However, this is kind of unconvenient as I need to start Terminal and sudo always asks me for the root password. I would appreciate to mount the NFS share just as I mount afp shares using the Finder. But the NFS share is neither searchable using the Finder nor does it show up in the list of host in the side bar of the Finder.
Does anyone has an idea how to solve that? Thx for your information!The problem is most likely that your NFS server requires that connections come from reserved ports but you can't connect that way from the Finder GUI.
Your example:
sudo mount -o resvport nfshost:/full/path/NFS/share /My/mount/point
shows that you need to use "-o resvport" and that you need to do the mount as root. (This is because the networking stack requires you to be root to get a reserved port.) When you try to mount it via the Finder, you can't specify any mount options like "-o resvport" and even if you could the mount would fail because the Finder isn't running as root.
My first suggestion would be to change the configuration of your server to not require clients to use reserved ports for the NFS protocol. Unfortunately, Linux chooses to call that option "insecure" even though requiring the use of reserved ports (using "secure") doesn't actually make NFS more secure.
Alternatively, you could configure the mount to be performed by something that does do the mount as root - e.g. automount/autofs. You can do this by configuring the mount on Directory Utility's "Mounts" section... you'll want to add "resvport" to the "Advanced mount options" field.
HTH
--macko -
Custom NFS share point directory showing up on all network machines
Hi,
I'm in the process of migrating our 10.4 PowerMac server to a Mac Pro (running 10.5). I've been trying to recreate our 10.4 server setup as much as possible and so far I've only come across one annoying issue.
We have fink installed on the server and under our 10.4 setup the /sw directory was set up as an NFS automounted share point with a custom mount point of '/sw'. I.e. users logging into client machines saw a /sw directory and could work with that. This made it easier to add fink packages as I only needed to do this on one machine (the server). This setup worked very well under 10.4 and had been working stably for the last couple of years.
As we now have (for another month or two at least) a mix of intel and Power PC machines, I don't want to share out the (intel) server version of fink to all clients. In Server Admin, I have chosen to set the NFS protocol options to specify the IP address of just one client (an intel machine). I am only using NFS to share this directory. The plan is to add more client IP addresses as we get more intel machines.
This works for the one intel client machine. Logging in via the GUI or via ssh allows you to run programs located under the /sw directory. The problem is that a phantom /sw directory appears on all client machines, even though their IP addresses are not specified in Server Admin. The /sw directory has root/wheel permissions (for user/group) and attempting to list its contents returns 'Operation not permitted' (even with 'sudo ls /sw').
If I use Directory Utility to remove the connection to the Directory server on our main server, then the /sw directory becomes owned by root/admin and I can remove it (it appears empty). Reconnecting to the Directory Server changes the permissions back to root/wheel. It is also worth noting that when I first installed fink on the server (in /sw) the act of making this a share point also changed the permissions on /sw to root/wheel meaning that I couldn't access the fink programs that I had only just installed (this forced me to reinstall fink in /Volumes/Data/fink).
Has anyone else noticed this behavior? It almost seems like Server Admin is not honoring the list of IP addresses that are being listed as targets for client machines. I had planned to install fink locally on the PowerPC clients until we upgrade them to intel machines. However, I would then also have to install fink somewhere other than /sw as I can't write to that directory. I would presume that this behavior should happen on any NFS share point that is trying to automount to a custom mount point on a client. Can anyone else verify this?
Regards,
KeithAs a footnote. I have now removed my shared fink installation. It is no longer listed as an NFS sharepoint in Server Admin and running the 'showmount -e' command does not list it. However, a /sw directory is still being created on the server and on the client machines on our network.
This is perplexing and frustrating. There is no sharepoint any more. I rebooted the server but it makes no difference. I removed the /sw directory (on the server) by booting the machine in target firewire mode and removing it by using a 2nd machine. But following the restart, it appeared again.
This suggests that once you make any custom mountpoint (using NFS sharing) then you will forever be stuck with a directory at the root level of all your clients which you can not remove.
Keith
Maybe you are looking for
-
Hi , while configuration of ssl_client _identify in strust . i am getting message sapcryptolib not installed . i check on application server and other related things . but everything is fine . i am using class cl_hhtp_client=> create by url for do th
-
Ok, so I start having problems with the digitizer on the old Tungsten E2. After an eternity of trial and error I discovered that I could fix it with a hard reset. This of course then requuires a restoration from the back up files in the computer (W
-
Splash Screen with a progress bar at the bottom
Hi, I want to display a splash screen with the progress bar at the bottom just like eclipse , limewire etc Take a look at the image below. [http://imageupload.com/out.php/i138889_splashScreen.png] Can anybody tell me how to achieve this type of splas
-
Reminders: Recur on Completion
Anyone know of a way to have iOS Reminders repeat every 2 weeks, but recur based on the completion date rather than simply every 2 weeks regardless if you completed it or not? For instance, I want "Mop the Floors" to recur every 2 weeks, but not sim
-
I tried a couple times downloading the 1.2 Software update and I got a pop up which said "An uknown error occured" (1417) is there anyway to fix this? not to mention I have a ROKR and I cant update my itunes on that either.