Страница 1 из 2

MajorDoMo with Z-Wave

Добавлено: Сб ноя 18, 2017 11:05 pm
ap2017
Does anybody have experience with Razberry Z-Wave adapter installation on Raspberry Pi? I tried to follow http://majordomo.smartliving.ru/Main/Razberry but without any luck, getting "no space left on the device" message while installing z-way-server, see below.

Noticed that SD card required to be expanded upon main package installation using raspi-config, bit expansion did not work either.

Extracting new z-way-server
tar: z-way-server/libs/RaspberryPiXTools.so: Wrote only 1024 of 10240 bytes
tar: z-way-server/libs/libxml2.so: Cannot write: No space left on device
tar: z-way-server/libs/libzenocean.so: Cannot write: No space left on device
tar: z-way-server/libs/libzway.so: Cannot write: No space left on device
tar: z-way-server/libs/libxml2.so.2: Cannot write: No space left on device
tar: z-way-server/libs/libwebsockets.so: Cannot write: No space left on device
tar: z-way-server/libs/libzcommons.so: Cannot write: No space left on device
tar: z-way-server/ChangeLog: Cannot write: No space left on device
tar: z-way-server/modules-includes/v8/v8config.h: Cannot write: No space left on device
tar: z-way-server/modules-includes/v8/v8-profiler.h: Cannot write: No space left on device
tar: z-way-server/modules-includes/v8/v8-testing.h: Cannot write: No space left on device
tar: z-way-server/modules-includes/v8/v8.h: Cannot write: No space left on device
tar: z-way-server/modules-includes/v8/v8-debug.h: Cannot write: No space left on device
tar: z-way-server/modules-includes/v8/v8stdint.h: Cannot write: No space left on device
tar: z-way-server/modules-includes/v8/v8-platform.h: Cannot write: No space left on device
tar: z-way-server/modules-includes/z-way-js/NativeString.h: Cannot write: No space left on device
tar: z-way-server/modules-includes/z-way-js/ZPointer.h: Cannot write: No space left on device
tar: z-way-server/modules-includes/z-way-js/EnvironmentVariable.h: Cannot write: No space left on device
tar: z-way-server/modules-includes/z-way-js/Environment.h: Cannot write: No space left on device
tar: z-way-server/modules-includes/z-way-js/ZWayException.h: Cannot write: No space left on device
tar: z-way-server/modules-includes/z-way-js/Dependencies.h: Cannot write: No space left on device
tar: z-way-server/modules-includes/z-way-js/MutexLock.h: Cannot write: No space left on device
tar: z-way-server/modules-includes/z-way-js/ByteArray.h: Cannot write: No space left on device
tar: z-way-server/modules-includes/z-way-js/Thread.h: Cannot write: No space left on device
tar: z-way-server/modules-includes/z-way-js/Callbacks.h: Cannot write: No space left on device
tar: z-way-server/modules-includes/z-way-js/Module.h: Cannot write: No space left on device
tar: z-way-server/modules-includes/z-way-js/RunResult.h: Cannot write: No space left on device
tar: z-way-server/modules-includes/z-way-js/Threading.h: Cannot write: No space left on device
tar: z-way-server/modules-includes/z-way-js/Utility.h: Cannot write: No space left on device
tar: Exiting with failure status due to previous errors

Will appreciate any help

Re: MajorDoMo with Z-Wave

Добавлено: Вс ноя 19, 2017 7:28 am
lanket
Execute in terminal this command
"sudo raspi-config"

This command run system configuration.

Choice "Advanced Options"

Next "Expand FileSystem"

Then your partition expand on all flashdisk space.

Отправлено с моего Redmi Note 4 через Tapatalk

Re: MajorDoMo with Z-Wave

Добавлено: Вт ноя 21, 2017 4:09 am
ap2017
lanket писал(а):Execute in terminal this command
"sudo raspi-config"

This command run system configuration.

Choice "Advanced Options"

Next "Expand FileSystem"

Then your partition expand on all flashdisk space.

Отправлено с моего Redmi Note 4 через Tapatalk
Thank you, but this is first what I tried as required by Razpberry installation procedure. The expansion does not work, getting message "Re-reading the partition table failed.: Device or resource busy" As far as I can see on Russian forum, this is a known problem.

Re: MajorDoMo with Z-Wave

Добавлено: Вт ноя 21, 2017 7:20 am
lanket
ap2017 писал(а):
lanket писал(а):Execute in terminal this command
"sudo raspi-config"

This command run system configuration.

Choice "Advanced Options"

Next "Expand FileSystem"

Then your partition expand on all flashdisk space.

Отправлено с моего Redmi Note 4 через Tapatalk
Thank you, but this is first what I tried as required by Razpberry installation procedure. The expansion does not work, getting message "Re-reading the partition table failed.: Device or resource busy" As far as I can see on Russian forum, this is a known problem.
So strange, mast work. Try to reboot the device.
I don't know what to do.
I think what you can take more help on English forum about raspberry.

Or, hello all. Are there somebody who can help!

Отправлено с моего Redmi Note 4 через Tapatalk

Re: MajorDoMo with Z-Wave

Добавлено: Ср ноя 22, 2017 1:17 pm
sergejey
Did you use some image for MajorDoMo? I suppose so as there is f2fs file system and it cannot be expanded using standard tools. There is some information about expanding f2fs file system here https://wiki.archlinux.org/index.php/F2FS but it needs to be unmounted so it cannot be done on the same system it sits on.

That's weird actually... How much free space Razzberry service need? Can you see how much space you have available ("df" command)? Also, you can insert some usb flash drive and download distribution packages there so it won't take any space on the main filesystem.

Re: MajorDoMo with Z-Wave

Добавлено: Ср ноя 22, 2017 5:34 pm
ap2017
sergejey писал(а):Did you use some image for MajorDoMo? I suppose so as there is f2fs file system and it cannot be expanded using standard tools. There is some information about expanding f2fs file system here https://wiki.archlinux.org/index.php/F2FS but it needs to be unmounted so it cannot be done on the same system it sits on.

That's weird actually... How much free space Razzberry service need? Can you see how much space you have available ("df" command)? Also, you can insert some usb flash drive and download distribution packages there so it won't take any space on the main filesystem.

Re: MajorDoMo with Z-Wave

Добавлено: Ср ноя 22, 2017 8:21 pm
sergejey
I think that Razzberry installation script is trying to extract files to /tmp folder and it has only 100Mb available so it's getting out too quickly. Can you try following changes:
1. Go to /etc/ folder
2. Open /etc/fstab file
3. Remove or comment line with following code:
tmpfs /tmp tmpfs defaults,noatime,nosuid,size=100m 0 0
4. Reboot the system.

This should remove the 100Mb limit for /tmp folder so the all space available will be used.

Re: MajorDoMo with Z-Wave

Добавлено: Ср ноя 22, 2017 8:59 pm
ap2017
sergejey писал(а):I think that Razzberry installation script is trying to extract files to /tmp folder and it has only 100Mb available so it's getting out too quickly. Can you try following changes:
1. Go to /etc/ folder
2. Open /etc/fstab file
3. Remove or comment line with following code:
tmpfs /tmp tmpfs defaults,noatime,nosuid,size=100m 0 0
4. Reboot the system.

This should remove the 100Mb limit for /tmp folder so the all space available will be used.
This makes sense. I tried to edit fstab by commenting out that line as well as tried to increase amount of allocated memory to 500mb. In both cases after making the change and rebooting I lost access to internet from RPI. Not sure if this is associated with the change. Multiple reboots do not help. Will try clean install again.

I am very new with Linux even editing fstab took me a while to figure out. Thank you for your help.

Re: MajorDoMo with Z-Wave

Добавлено: Ср ноя 22, 2017 10:32 pm
ap2017
Is it critical how to edit fstab? I copied it to Desktop, edited it in text editor, then sudo cp fstab /etc/fstab
Is this a proper way? Thanks

Re: MajorDoMo with Z-Wave

Добавлено: Ср ноя 22, 2017 11:04 pm
sergejey
ap2017 писал(а):Is it critical how to edit fstab? I copied it to Desktop, edited it in text editor, then sudo cp fstab /etc/fstab
Is this a proper way? Thanks
Hm... I'm not sure I do understand how exactly you copy file back from Desktop. Do you see the changes you are making in /etc/fstab ?
You can actually edit it right in ssh sessing by opening built-in editor using this command:
sudo nano /etc/fstab