rayknight, no, there is no particular reason why I use Smaba. So bodhi said I should use Samba. And in your opinion NFSv4 is better? Does it run well on a Lenovo ix2 NAS? If so could you give me some instructions on how to do this?by Jan_Grz1 - Debian
Okay Thank Youby Jan_Grz1 - Debian
bodhi, I have now checked everything again and I only mistyped the name of the hard drive that is to be shared via Samba. I am now copying the first data to the NAS. The data is being transferred at about 30mb/s. Is this normal or is there more possible? Because a maximum of 125mb/s would be possible via the LAN cable.by Jan_Grz1 - Debian
bodhi, so the discs now have the file format ext4 and the system has more ram, but the data is still written to the usb stick. how do i change that?by Jan_Grz1 - Debian
bodhi, Yes, but I want to mount the NAS on Windows. So I have to switch to ext4 for more speed but then I can't mount it on Windows anymore? root@debian:~# apt-get install usbutils Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: libusb-1.0-0 The following NEW packages willby Jan_Grz1 - Debian
bodhi, i use a Western Digital WD Blue 1TB and a HGST Travelstar 7K1000 1TB. root@debian:~# free -h total used free shared buff/cache available Mem: 233Mi 40Mi 134Mi 1.4Mi 73Mi 192Mi Swap: 485Mi 0B 485Mi root@debian:~# mount sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatiby Jan_Grz1 - Debian
bodhi, The push worked, but not the pull. And how do I get the second disc released again? Because we deleted it last time. root@debian:~# dd if=/dev/urandom of=bigfile bs=512 count=1000000 1000000+0 records in 1000000+0 records out 512000000 bytes (512 MB, 488 MiB) copied, 167.172 s, 3.1 MB/s root@debian:~# uname -ar Linux debian 6.5.7-kirkwood-tld-1 #2 PREEMPT Wed Oct 18 21:14:11 Pby Jan_Grz1 - Debian
bodhi, now it works with more than 10GB but still much too slow with only 6mb/sby Jan_Grz1 - Debian
bodhi, ; guest ok = yes # The next two parameters show how to auto-mount a CD-ROM when the # cdrom share is accesed. For this to work /etc/fstab must contain # an entry like this: # # /dev/scd0 /cdrom iso9660 defaults,noauto,ro,user 0 0 # # The CD-ROM gets unmounted automatically after the connection to the # # If you don't want to use auto-mountingby Jan_Grz1 - Debian
bodhi, And how do I have to change my Samba share so that this is correct? And where the files are saved to I had actually checked that this is definitely not the USB stick, because I checked this in the Rasp Controller software (you can easily integrate other debians systems, not just Raspberry Pi) and it said that this is written to the HDD. So you could see how the free space on the HDD becby Jan_Grz1 - Debian
bodhi, it is now running but I have the problem that I can only copy 10GB at a time when copying to the Nas, because otherwise it says that there is not enough memory available, although I have 2x 1TB hard drives in it. Also, I can only write to it at a maximum of 6mb per second. I had a look and the CPU load goes up to 100% during the write process. Could this mean that the Nas is simply tooby Jan_Grz1 - Debian
bodhi, I've been trying to shut down the HDDs with hd-idle for a while now, but somehow it doesn't work. root@debian:~# cd /tmp root@debian:/tmp# ls . cores logsamba.192.168.178.25 logsamba.nmbd .. hd-idle_1.05_armel.deb logsamba.jans-pc logsamba.smbd root@debian:/tmp# the confusing thing is that there was nothing in the file you are suppoby Jan_Grz1 - Debian
bodhi, All right, thank you very much. I'm really pleased that it's finally working. Thank you very much for your great help. I have already installed samba and am currently loading my first backup. I'll install the web interface and so on later. Is there a way to switch off the hard drives when they are not in use? Or can I set this in the web interface?by Jan_Grz1 - Debian
is it that what i see in the wiki for the backup? >>How to back up a live rootfs using rsync but if i do it via a server, then it is not saved locally on the device. And if I use the USB stick then the USB stick has to be reformatted first and then Debian would no longer be on it, right?by Jan_Grz1 - Debian
bodhi, how to backup it?by Jan_Grz1 - Debian
bodhi, Now it works again with the USB stick inside, thank you. But how do I now get access to the NAS to save things on it? How can I change settings on it? Is there a web interface? __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_|by Jan_Grz1 - Debian
bodhi, yes, sorry how do I proceed now debian login: root Password: Linux debian 6.5.7-kirkwood-tld-1 #2 PREEMPT Wed Oct 18 21:14:11 PDT 2023 armv5tel The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLby Jan_Grz1 - Debian
bodhi, but now when i unplugged the usb stick and cold started it, it wouldn't start again. it was only when the usb stick was back in. | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ |by Jan_Grz1 - Debian
bodhi, but now when i unplugged the usb stick and cold started it, it wouldn't start again. it was only when the usb stick was back in. | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ |by Jan_Grz1 - Debian
bodhi, I have now updated everything. What do I have to do now to make everything work? debian login: root Password: Linux debian 6.5.7-kirkwood-tld-1 #2 PREEMPT Wed Oct 18 21:14:11 PDT 2023 armv5tel The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copby Jan_Grz1 - Debian
bodhi, i have now tried plugging the usb stick into the nas and it looks like it is working. There are two error messages at the end. How do I fix this? __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _by Jan_Grz1 - Debian
bodhi, root@archiso ~ # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS loop0 7:0 0 824.9M 1 loop /run/archiso/airootfs sda 8:0 0 6.4G 0 disk sdb 8:16 1 14.4G 0 disk sr0 11:0 1 1.2G 0 rom /run/archiso/bootmnt root@archiso ~ # fdisk /dev/sdb Welcome to fdisk (util-linux 2.40.4). Changes will remain in memory only, until you decide to write them.by Jan_Grz1 - Debian
bodhi, what now?? __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/by Jan_Grz1 - Debian
now it has worked after many attemptsby Jan_Grz1 - Debian
bodhi, ok never mind it just took a long time. But when I try to umount it then it says target is busy root@archiso ~ # cd /mnt/boot root@archiso /mnt/boot # cp -a zImage-6.5.7-kirkwood-tld-1 zImage.fdt root@archiso /mnt/boot # cat /mnt/boot/dts/kirkwood-lenovo-ix2-ng.dtb >> zImage.fdt root@archiso /mnt/boot # mv uImage uImage.orig root@archiso /mnt/boot # mkimage -A arm -O liby Jan_Grz1 - Debian
bodhi, I have tried but somehow it gets stuck here. root@archiso ~ # cd /mnt/boot root@archiso /mnt/boot # cp -a zImage-6.5.7-kirkwood-tld-1 zImage.fdt root@archiso /mnt/boot # cat /mnt/boot/dts/kirkwood-lenovo-ix2-ng.dtb >> zImage.fdt root@archiso /mnt/boot # mv uImage uImage.orig root@archiso /mnt/boot # mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -nby Jan_Grz1 - Debian
bodhi, I have attached a screenshot of reading the usb stick on a Linux vm.by Jan_Grz1 - Debian
bodhi, __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \_by Jan_Grz1 - Debian
bodhi, __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__|by Jan_Grz1 - Debian
bodhi, __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__|by Jan_Grz1 - Debian