You are not logged in.

#1 2007-09-19 17:21:59

enrique
Member
Registered: 2005-10-25
Posts: 95
Website

nfs and swap broken by upgrade (utils-linux-ng ?)

After an upgrade and a reboot I have the following problem and question:

from dmesg:

Unable to find swap-space signature

It was easy to fix (with a sudo mkswap /dev/sda2 && sudo swapon /dev/sda2), I'm only wondering if it has anything to do with the utils-linux-ng upgrade?

Now the real problem:

~:> sudo mount /shared/              
mount: wrong fs type, bad option, bad superblock on spookcentral:/shared,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

/shared/ is a nfs share which has been working fine until today.

dmesg does not contain anything useful:

~:> dmesg | tail
hda: selected mode 0x22
si3054: cannot initialize. EXT MID = 0000
[drm] Initialized drm 1.1.0 20060810
ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16
[drm] Initialized i915 1.6.0 20060119 on minor 0
si3054: cannot initialize. EXT MID = 0000
SoftMAC: Open Authentication completed with 00:18:f8:bd:70:b5
ieee80211_crypt: registered algorithm 'CCMP'
Unable to find swap-space signature
Adding 982792k swap on /dev/sda2.  Priority:-1 extents:1 across:982792k

And no log file, neither on the nfs server or client contains anything useful.


Kind regards, enrique

Offline

#2 2007-09-19 18:33:22

delco
Member
From: Germany
Registered: 2003-02-07
Posts: 19

Re: nfs and swap broken by upgrade (utils-linux-ng ?)

Hello,

same here too. A manual pacman -Rd util-linux-ng and a pacman -A util-linux-2.12-12.pkg.tar.gz (the old one from the cache) solved the problem.

I suppose there is some more testing needed roll.

delco

Last edited by delco (2007-09-19 18:44:10)

Offline

#3 2007-09-19 19:48:49

mckooper
Member
Registered: 2007-09-19
Posts: 3

Re: nfs and swap broken by upgrade (utils-linux-ng ?)

Same problem, but I fixed it by installing the nfs-utils package (pacman -S nfs-utils)

-Joel

Offline

#4 2007-09-20 08:20:29

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: nfs and swap broken by upgrade (utils-linux-ng ?)

util-linux-ng removed all nfs mount code from the 'mount' binary, you need nfs-utils now to be able to mount nfs.

As for the swap problem, I don't know what might have caused this, but it could be that you have an "old style" swapspace, which you must have created many years ago and maybe util-linux-ng dropped support for those.

Offline

#5 2007-09-20 11:32:35

delco
Member
From: Germany
Registered: 2003-02-07
Posts: 19

Re: nfs and swap broken by upgrade (utils-linux-ng ?)

Hi,

I've installed nfs-utils before the pacman -Syu. I'll try it again with util-linux-ng and a reinstall of nfs-utils.

But can someone tell me why the man (5) page for nfs is missing in util-linux?
From PKGBUILD util-linux and util-linux-ng:

  rm -f ${startdir}/pkg/bin/kill
  rm -f ${startdir}/pkg/usr/share/man/man1/kill.1
  rm -f ${startdir}/pkg/usr/share/man/man5/nfs.5

Edit:
The man page is removed since the 1.30 revision of the util-linux PKGBUILD (2.12-9).

Strange, I've all tools from the nfs-utils package available but some files incl. the man page for nfs are missing hmm?
I'll try a reinstall of that package.

delco

Last edited by delco (2007-09-20 11:44:50)

Offline

#6 2007-09-20 14:38:51

enrique
Member
Registered: 2005-10-25
Posts: 95
Website

Re: nfs and swap broken by upgrade (utils-linux-ng ?)

brain0 wrote:

util-linux-ng removed all nfs mount code from the 'mount' binary, you need nfs-utils now to be able to mount nfs.

Ok, I will try to install that smile

brain0 wrote:

As for the swap problem, I don't know what might have caused this, but it could be that you have an "old style" swapspace, which you must have created many years ago and maybe util-linux-ng dropped support for those.

Hm... my Arch install is less than a year old, oh well strange things happen smile


Kind regards, enrique

Offline

#7 2007-09-20 14:55:10

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: nfs and swap broken by upgrade (utils-linux-ng ?)

enrique wrote:
brain0 wrote:

As for the swap problem, I don't know what might have caused this, but it could be that you have an "old style" swapspace, which you must have created many years ago and maybe util-linux-ng dropped support for those.

Hm... my Arch install is less than a year old, oh well strange things happen smile

In that case, the problem is somewhere else. I had no problems with swapspace though.

Offline

#8 2007-09-20 16:31:35

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: nfs and swap broken by upgrade (utils-linux-ng ?)

delco, the nfs man page is now in the nfs-utils package:

$ pacman -Qo /usr/man/man5/nfs.5.gz 
/usr/man/man5/nfs.5.gz is owned by nfs-utils 1.1.0-1

Offline

#9 2007-09-20 16:45:45

slackhack
Member
Registered: 2004-06-30
Posts: 738

Re: nfs and swap broken by upgrade (utils-linux-ng ?)

it seems the new nfs-utils is broken again like the old one, here:
http://bugs.archlinux.org/task/7368?str … &project=1

when rebooting an arch nfsd server, the nfs shares aren't remounted again on the clients. the new patch from shazeal (here) isn't working for me.

Offline

#10 2007-09-20 19:11:22

delco
Member
From: Germany
Registered: 2003-02-07
Posts: 19

Re: nfs and swap broken by upgrade (utils-linux-ng ?)

tomk, thanks, but after pacman -Syu it was gone. After the reinstall of the old utils-linux package and nfs-utils it is back :-)

delco

Offline

#11 2007-09-21 08:59:35

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: nfs and swap broken by upgrade (utils-linux-ng ?)

slackhack wrote:

it seems the new nfs-utils is broken again like the old one, here:
http://bugs.archlinux.org/task/7368?str … &project=1

when rebooting an arch nfsd server, the nfs shares aren't remounted again on the clients. the new patch from shazeal (here) isn't working for me.

I'll look into it soon. However, this update has been sitting in testing for a while, and nobody reported any problems with it. Maybe it is because nobody uses testing or nobody who uses testing reports bugs.

Offline

#12 2007-09-21 10:32:52

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: nfs and swap broken by upgrade (utils-linux-ng ?)

brain0 wrote:

Maybe it is because nobody uses testing or nobody who uses testing reports bugs.

s/testing/testing and nfs/ smile


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#13 2007-09-22 15:50:24

bud
Member
From: swe
Registered: 2006-07-12
Posts: 74

Re: nfs and swap broken by upgrade (utils-linux-ng ?)

mounting nfs shares works for me now after installing nfs-utils


Hello, I am normal!

Offline

#14 2007-09-23 10:09:27

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

Re: nfs and swap broken by upgrade (utils-linux-ng ?)

Why isn't there any notice in any package upgrade that nfs-utils is now required for mounting nfs; making me spend hours trying to fix this? It would be nice if there would be some way that these sort of changes would be communicated to users trying to actually use archlinux smile

Last edited by Spider.007 (2007-09-23 10:09:54)

Offline

#15 2007-09-23 19:42:00

soloport
Member
Registered: 2005-03-01
Posts: 442

Re: nfs and swap broken by upgrade (utils-linux-ng ?)

Anyone else using loop-AES? Asking because util-linux / util-linux-ng affect that package (mount / umount at least).  If you've successfully upgraded to util-linux-ng, could you post your story / howto?  Am about to go down that road, so, would the information or a howto help anyone else?

Offline

#16 2007-09-24 17:36:19

slackhack
Member
Registered: 2004-06-30
Posts: 738

Re: nfs and swap broken by upgrade (utils-linux-ng ?)

brain0 wrote:
slackhack wrote:

it seems the new nfs-utils is broken again like the old one, here:
http://bugs.archlinux.org/task/7368?str … &project=1

when rebooting an arch nfsd server, the nfs shares aren't remounted again on the clients. the new patch from shazeal (here) isn't working for me.

I'll look into it soon. However, this update has been sitting in testing for a while, and nobody reported any problems with it. Maybe it is because nobody uses testing or nobody who uses testing reports bugs.

tomk's update fixed it. smile

Offline

#17 2007-09-25 20:24:03

gojamiegirl
Member
From: Pacific Beach, CA
Registered: 2005-07-05
Posts: 19
Website

Re: nfs and swap broken by upgrade (utils-linux-ng ?)

I installed nfs-utils on the client, re-exported my shares on the NFS server, and then I got this error.

$ mount /mnt/music/
mount.nfs: rpc.statd is not running but is required for remote locking
   Either use "-o nolocks" to keep locks local, or start statd.

I then had to start nfslock on the client (and put in it daemons list in rc.conf).  It all worked fine for me before too.

Offline

#18 2007-09-25 22:30:27

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: nfs and swap broken by upgrade (utils-linux-ng ?)

Thanks for confirming the fix, slackhack.

I have also updated our wiki NFS page to reflect these changes.

Offline

Board footer

Powered by FluxBB