MajorDoMo with Z-Wave

Project discussion/ideas in English

Модераторы: Bagir, Ivan, Vit

ap2017
Сообщения: 16
Зарегистрирован: Чт авг 24, 2017 3:16 am
Откуда: Avon, CT, USA
Благодарил (а): 4 раза
Поблагодарили: 0

MajorDoMo with Z-Wave

Сообщение ap2017 » Сб ноя 18, 2017 11:05 pm

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
Аватара пользователя
lanket
Сообщения: 1105
Зарегистрирован: Вт окт 14, 2014 11:27 pm
Откуда: Санкт-Петербург
Благодарил (а): 241 раз
Поблагодарили: 151 раз
Контактная информация:

Re: MajorDoMo with Z-Wave

Сообщение lanket » Вс ноя 19, 2017 7:28 am

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
Разработка голосового асистента для Мажордомо по любому ключевому слову.
:arrow: Обсужение
:arrow: GitHub терминала
:arrow: GitHub модуля для МД
:arrow: Connect
Rasberry Pi 2, MDM, MySensors. И говорящий апельсин.
ap2017
Сообщения: 16
Зарегистрирован: Чт авг 24, 2017 3:16 am
Откуда: Avon, CT, USA
Благодарил (а): 4 раза
Поблагодарили: 0

Re: MajorDoMo with Z-Wave

Сообщение ap2017 » Вт ноя 21, 2017 4:09 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
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.
Аватара пользователя
lanket
Сообщения: 1105
Зарегистрирован: Вт окт 14, 2014 11:27 pm
Откуда: Санкт-Петербург
Благодарил (а): 241 раз
Поблагодарили: 151 раз
Контактная информация:

Re: MajorDoMo with Z-Wave

Сообщение lanket » Вт ноя 21, 2017 7:20 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.
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
Разработка голосового асистента для Мажордомо по любому ключевому слову.
:arrow: Обсужение
:arrow: GitHub терминала
:arrow: GitHub модуля для МД
:arrow: Connect
Rasberry Pi 2, MDM, MySensors. И говорящий апельсин.
Аватара пользователя
sergejey
Site Admin
Сообщения: 4263
Зарегистрирован: Пн сен 05, 2011 6:48 pm
Откуда: Минск, Беларусь
Благодарил (а): 75 раз
Поблагодарили: 1365 раз
Контактная информация:

Re: MajorDoMo with Z-Wave

Сообщение sergejey » Ср ноя 22, 2017 1:17 pm

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.

Сергей Джейгало, разработчик MajorDoMo
Идеи, ошибки -- за предложениями по исправлению и развитию слежу только здесь!
Профиль Connect -- информация, сотрудничество, услуги
ap2017
Сообщения: 16
Зарегистрирован: Чт авг 24, 2017 3:16 am
Откуда: Avon, CT, USA
Благодарил (а): 4 раза
Поблагодарили: 0

Re: MajorDoMo with Z-Wave

Сообщение ap2017 » Ср ноя 22, 2017 5:34 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.
Вложения
md screen.jpg
Yes, I did use the MajorDoMo image version 3.28.

That is exactly the point, instead of digging in to SD card expansion, I am trying to understand why does Razberry need so mush space. Please see my df report attached, it looks like I have at least 9 GB free in /dev/root unless Razberry is getting installed into a different partition...
md screen.jpg (563.19 КБ) 2297 просмотров
Аватара пользователя
sergejey
Site Admin
Сообщения: 4263
Зарегистрирован: Пн сен 05, 2011 6:48 pm
Откуда: Минск, Беларусь
Благодарил (а): 75 раз
Поблагодарили: 1365 раз
Контактная информация:

Re: MajorDoMo with Z-Wave

Сообщение sergejey » Ср ноя 22, 2017 8:21 pm

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.

Сергей Джейгало, разработчик MajorDoMo
Идеи, ошибки -- за предложениями по исправлению и развитию слежу только здесь!
Профиль Connect -- информация, сотрудничество, услуги
ap2017
Сообщения: 16
Зарегистрирован: Чт авг 24, 2017 3:16 am
Откуда: Avon, CT, USA
Благодарил (а): 4 раза
Поблагодарили: 0

Re: MajorDoMo with Z-Wave

Сообщение ap2017 » Ср ноя 22, 2017 8:59 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.
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.
ap2017
Сообщения: 16
Зарегистрирован: Чт авг 24, 2017 3:16 am
Откуда: Avon, CT, USA
Благодарил (а): 4 раза
Поблагодарили: 0

Re: MajorDoMo with Z-Wave

Сообщение ap2017 » Ср ноя 22, 2017 10:32 pm

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
Аватара пользователя
sergejey
Site Admin
Сообщения: 4263
Зарегистрирован: Пн сен 05, 2011 6:48 pm
Откуда: Минск, Беларусь
Благодарил (а): 75 раз
Поблагодарили: 1365 раз
Контактная информация:

Re: MajorDoMo with Z-Wave

Сообщение sergejey » Ср ноя 22, 2017 11:04 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
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

Сергей Джейгало, разработчик MajorDoMo
Идеи, ошибки -- за предложениями по исправлению и развитию слежу только здесь!
Профиль Connect -- информация, сотрудничество, услуги
Ответить