Samba and Disk spin down
|
1st Oct, 2014, 10:16 PM
Post: #1
|
|||
|
|||
Samba and Disk spin down
Apologies if this has been answered before and I can't find it, or if it's because I'm still on 1.0RC2...
The samba share for my external disk keep vanishing. My Pi Model B boots fine and makes the share for the external disk available, but after a short time they disappear. I'm assuming this is because I have configured the disk to spin down in in the xbian / xbmc menu's. Is there a way to configure Samba to leave the share up and have disk spin back up if they are accessed? Cheers, Hal. |
|||
8th Oct, 2014, 01:16 PM
Post: #2
|
|||
|
|||
RE: Samba and Disk spin down
@halibut
the shares are "hot" - like usbstorage below them. Share is set to be removed if system generates event saying storage was removed. Spin down event should not be trigger for such event. can you after system boots log into ssh, and as sudo start udev event monitoring ? Code: sudo udevadm monitor then please try to send the piece of log showing events generated with the share disappearing. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
12th Oct, 2014, 04:01 AM
Post: #3
|
|||
|
|||
RE: Samba and Disk spin down
(8th Oct, 2014 01:16 PM)mk01 Wrote: @halibut Thanks mk01, is this any help? [sudo] password for xbian: monitor will print the received events for: UDEV - the event which udev sends out after rule processing KERNEL - the kernel uevent KERNEL[5517.128881] add /devices/platform/bcm2708_usb/usb1/1-1/1-1.2 (usb) KERNEL[5517.134324] add /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.0 (usb) UDEV [5517.137534] add /devices/platform/bcm2708_usb/usb1/1-1/1-1.2 (usb) UDEV [5517.181798] add /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.0 (usb) KERNEL[5521.474807] remove /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.0 (usb) KERNEL[5521.478200] remove /devices/platform/bcm2708_usb/usb1/1-1/1-1.2 (usb) UDEV [5522.221289] remove /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.0 (usb) UDEV [5522.712994] remove /devices/platform/bcm2708_usb/usb1/1-1/1-1.2 (usb) KERNEL[5532.233796] add /devices/platform/bcm2708_usb/usb1/1-1/1-1.2 (usb) KERNEL[5532.237917] add /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.0 (usb) UDEV [5532.241902] add /devices/platform/bcm2708_usb/usb1/1-1/1-1.2 (usb) UDEV [5532.287868] add /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.0 (usb) Not sure what triggers all the 'add's, as the drive was on since boot. |
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
Samba disk space problem | danell | 3 | 13,816 |
15th Jun, 2013 11:48 AM Last Post: mk01 |