Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD on Raspberry Pi with LVM ?



acruhl%gmail.com@localhost (Andy Ruhl) writes:

>On Mon, Nov 3, 2014 at 7:37 AM, Dannis 't Hart <dannisthart%gmail.com@localhost> wrote:
>> Hi,
>>
>> I need to load the module dm (pseudo-device dm # device-mapper) for LVM
>> to work.

The module should load when the /etc/rc.d/lvm script runs.

>> boot into single user mode, modload dm, and exit to multi-user. Then I
>> can use LVM, although it seems I still need to manually 'vgchange -a y'
>> to activate it, before I can actually mount my logical volume.

At startup, the system would do that for you. Just set lvm=YES in
/etc/rc.conf.

You may also want to have a look at /etc/lvm/lvm.conf to tell LVM
what disks it should scan for labels.

>Sorry, no help here, but I'm interested in knowing how that is
>working? I've heard that bandwidth on the RPI is not good with NetBSD,
>and for that reason I haven't used NetBSD on it too much.

Using RPI as an NFS client and writing to /dev/null using 'dd' using
default settings:
18612352 bytes transferred in 4.419 secs (4211892 bytes/sec)
With 32k rsize/wsize:
18612352 bytes transferred in 2.954 secs (6300728 bytes/sec)

Copying the same file via scp to a local USB disk:
01-Part_One.mp3                     100%   18MB   1.6MB/s   1.9MB/s   00:11    
and with the faster arcfour cipher:
01-Part_One.mp3                     100%   18MB   2.2MB/s   2.3MB/s   00:08    

And the other direction, copying the file from the RPI with scp:
01-Part_One.mp3                     100%   18MB   2.0MB/s   2.0MB/s   00:09    
and with the faster arcfour cipher:
01-Part_One.mp3                     100%   18MB   2.2MB/s   2.4MB/s   00:08    

Fetching the file from the RPI via ftp:

150 Opening BINARY mode data connection for '01-Part_One.mp3' (18612352 bytes).
100% |***********************************| 18176 KiB    3.27 MiB/s    00:00 ETA




Home | Main Index | Thread Index | Old Index