• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: [1]
1  Linux Stuff / General Linux questions / Re: NFS server and mapping of user ids on: July 07, 2010, 04:18:17 AM
On the mac, nfsv4 support is described to be in alpha. I tried it against the nfsv4  server on the sheevaplug and didn't work.

Does anyone else have a different experience? 
2  Linux Stuff / General Linux questions / Re: NFS server and mapping of user ids on: June 26, 2010, 09:02:53 AM
Thats a great feature for nfsv4, I didn't know of.

It does work with a linux nfs client (opensuse 11.2). However I couldn't make it work on Mac OS X 10.6.4. Has anyone succeeded in configuring this in Max OS X?

Any other alternatives that can work on the mac?

3  Linux Stuff / General Linux questions / NFS server and mapping of user ids on: June 25, 2010, 01:57:05 PM
Hello,

I have my sheevaplug setup with ubuntu 9.04. I have nfs-kernel-server installed and running.

Now, I want to set setup the nfs server in a way that it maps user ids from my laptop to the shevaplug. I found that this can be done with the map_static option in the /etc/exports file. However this option seems to be available only in the nfs-user-server. I cannot find this package.

Has anybody here done such a setup?

Is it sufficient if I compile and install this package: http://packages.ubuntu.com/source/intrepid/nfs-user-server? Is it safe to do so and how do i revert this if things go wrong?

Thank you
4  Linux Stuff / General Linux questions / Re: Should /var be moved off the SD card? on: June 06, 2010, 12:39:20 AM
It is quite easy to try this out. Keep the old var around, maybe with a different name just in case. Also, mind the filesystem and the permissions on the target partition on the hdd. They need to much that of the original. A 'cp -a' would be sufficient.

If you run into trouble, you can simply mount the SD card on another machine and restore the fstab, not to mount the new '/var'

Regards,
5  Linux Stuff / General Linux questions / Re: Slow USB disk input output on the Sheevaplug on: June 05, 2010, 02:31:09 AM
I worked around the problem by connecting a usb Hub on the sheevaplug. The hub is a 4 port BELKIN mobile. Now syslog messages read:

Jun  5 12:15:55 papitsa kernel: Waiting 10sec before mounting root device...
Jun  5 12:15:55 papitsa kernel: usb 1-1: new high speed USB device using orion-ehci and address 2
Jun  5 12:15:55 papitsa kernel: hub 1-1:1.0: USB hub found
Jun  5 12:15:55 papitsa kernel: hub 1-1:1.0: 4 ports detected
Jun  5 12:15:55 papitsa kernel: usb 1-1.4: new high speed USB device using orion-ehci and address 3
Jun  5 12:15:55 papitsa kernel: scsi0 : usb-storage 1-1.4:1.0
Jun  5 12:15:55 papitsa kernel: scsi 0:0:0:0: Direct-Access     ST310005 28AS                  PQ: 0 ANSI: 2 CCS

and hdparm -tT /dev/sda

/dev/sda:
 Timing cached reads:   576 MB in  2.00 seconds = 287.87 MB/sec
 Timing buffered disk reads:   94 MB in  3.04 seconds =  30.90 MB/sec


Still, I would like to know why the drive is that slow when connected directly to the plug.

Can we move this thread to the kernel subforum, as it seems to be more relevant?

 
6  Linux Stuff / General Linux questions / Re: Slow USB disk input output on the Sheevaplug on: June 03, 2010, 06:56:57 AM
No, I don't use a hub. The drive is connected directly on the plug.

Regarding the drive:
lsusb
Bus 001 Device 002: ID 059b:0475 Iomega Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

hdparm -i /dev/sda

/dev/sda:
 HDIO_GET_IDENTITY failed: Invalid argument

hdparm -I /dev/sda

/dev/sda:

ATA device, with non-removable media
Standards:
        Likely used: 1
Configuration:
        Logical         max     current
        cylinders       0       0
        heads           0       0
        sectors/track   0       0
        --
        device size with M = 1024*1024:           0 MBytes
        device size with M = 1000*1000:           0 MBytes
Capabilities:
        IORDY not likely
        Cannot perform double-word IO
        R/W multiple sector transfer: not supported
        DMA: not supported
        PIO: pio0

sdparm  /dev/sda
    /dev/sda: ST310005  28AS
Read write error recovery mode page:
  AWRE        0
  ARRE        0
  PER         0
Caching (SBC) mode page:
  WCE         0
  RCD         0



However, the drive works at much higher speeds when connected to a laptop running openSuse 11.2.

I am also puzzled be these lines from syslogd:

Jun  3 00:20:36 papitsa kernel: Waiting 10sec before mounting root device...
Jun  3 00:20:36 papitsa kernel: usb 1-1: new full speed USB device using orion-ehci and address 2
Jun  3 00:20:36 papitsa kernel: usb 1-1: not running at top speed; connect to a high speed hub

Any ideas?
7  Linux Stuff / General Linux questions / Re: Slow USB disk input output on the Sheevaplug on: June 02, 2010, 02:44:47 PM
Here are some more details on my problem:

I killed most processes on the plug and tested with hdparm:
hdparm  -tT /dev/sda4

/dev/sda4:
 Timing cached reads:    62 MB in  2.01 seconds =  30.92 MB/sec
 Timing buffered disk reads:    4 MB in  3.69 seconds =   1.08 MB/sec

I updated the kernel from sheeva-2.6.32.7-uImage to sheeva-2.6.34-uImage and hdparm gives the same results. I got the kernel from http://sheeva.with-linux.com/sheeva/
8  Linux Stuff / General Linux questions / Slow USB disk input output on the Sheevaplug on: June 02, 2010, 08:29:20 AM
Hello,

I have setup my sheevaplug with ubuntu and root on the USB disk. The Disk is an 1Tb Iomega device.

The mount points look like:
/dev/sda2 on / type ext3 (rw,noatime)
/dev/sda1 on /boot type ext2 (rw)
/dev/sda4 on /mnt/data type ext4 (rw,nosuid,noatime)

When copying a file on the plug (the ext4 filesystem) I get speeds of about 1Mb/s. Similar speeds occur when I copy files across  the network. However, when I connect the USB drive to a laptop, I get speeds of more than 10 Mb/s. And that is the average speed of a 60 Gb copy  where many files are transfered.

I don't know how to track this problem down. Can you please suggest a few causes for such a problem or diagnostics I to run?

Regards,
Pages: [1]