خرید بک لینک

I have a new 2015/2016 model Seagate Expansion Desktop (STEB2000300) coected to a Raspberry Pi. I have set on the drives firmware (in Windows 7) so that it tus off automatically after a quick 3 mins. With the drive mounted in Raspbian as NTFS, with the following /etc/fstab setting, it tus off as desired after 3 minutes.

UUID=the devices UUID       /mnt/usbhdd     ntfs-3g    defaults          0       0

Then using the same drive formatted as EXT4, the drive does not tu off automatically after 3 mins, and the hard drives LED continuously flashes as if something is constantly accessing it. The last time I tried I used the steps here to set the drive up as EXT4 again with the drive not sleeping:

Formatted the only partition as EXT4

mkfs.ext4 /dev/sdX1 Ext4Label

Disabled joualing

tune2fs -O ^has_joual /dev/sdX1

Enable writeback mode

tune2fs -o joual_data_writeback /dev/sdX1

Required fsck

e2fsck -f /dev/sdX1

/etc/fstab

UUID=a-different-longer-UUID       /mnt/usbhdd    ext4       defaults,data=writeback,noatime,nodiratime          0       0

I tried using sudo hdparm -y /dev/sdX1 to sleep the drive, it sounds like it tus off for a split second but resumes immediately with the LED blinking continuously. The only way I can get the drive to sleep is by unmounting it:

sudo umount /dev/sdX1

and the drive sleeps after 3 mins. I've also tried finding out what is accessing the drive with sudo fuser -vam /dev/sdX1 but it doesn't show much, only:

                     USER        PID ACCESS COMMAND
/dev/sdb2:           root     keel mount /mnt/usbhdd

What else is can I try? I would like to use EXT4 over NTFS for better performance in Raspbian.

- - , .

برچسب: نویسنده: استخدام کار تاريخ: شنبه 8 اسفند 1394 ساعت: 16:30

صفحه بندی