SOLVED: Greyhole status - drives offline. WD 2GB RED Issue??

whaites
Posts: 40
Joined: Mon Aug 26, 2013 6:22 pm

Re: Greyhole status - drives offline

Postby whaites » Sat Dec 28, 2013 8:09 pm

blkid gives me a UUID and a PARTUUID for my drive. Would you think I should use the PARTUUID - the corresponding PARTLABEL = 'primary'?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Greyhole status - drives offline

Postby bigfoot65 » Sat Dec 28, 2013 8:18 pm

You should be able to get it with this command:

Code: Select all

ls -1 /dev/disk/by-uuid/
The drives are listed in the same order as when using:

Code: Select all

ls -l /dev/disk/by-id/
I would expect it needs the UUID in /etc/fstab to work correctly.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

whaites
Posts: 40
Joined: Mon Aug 26, 2013 6:22 pm

Re: Greyhole status - drives offline

Postby whaites » Sat Dec 28, 2013 8:59 pm

Well, about all the progress I've made is to confirm that my old 2gb drive is bad. Still can't get the new one to show up in greyhole. Mounted with uuid. Partuuid made they kernel angry when I tested with mount -a.

[ Post made via Android ] Image

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Greyhole status - drives offline

Postby bigfoot65 » Sat Dec 28, 2013 9:00 pm

That stinks. Did you use cfdisk to format the new drive? I use that, them format using the guidance in the wiki as ext4 file type.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

whaites
Posts: 40
Joined: Mon Aug 26, 2013 6:22 pm

Re: Greyhole status - drives offline

Postby whaites » Sat Dec 28, 2013 9:16 pm

First I used cfdisk following the wiki: https://wiki.amahi.org/index.php/Adding ... o_your_HDA

That was giving me the Partition 1 does not start on physical sector boundary message.

Then, I followed the 4GB+ instructions from the bottom of here: https://wiki.amahi.org/index.php/Partitions_Over_2.1_TB
I formatted using this command:

Code: Select all

mkfs.ext3 -j /dev/sdb1
fdisk seemed happier with this method, but I couldn't use hda-diskmount

So, I created a folder for the mount point:
/var/hda/files/drives/drive2

Also created the gh folder:
/var/hda/files/drives/drive2/gh

chown/chmod to match my working gh folder on drive1

I got the UUID for the drive and added it to fstab

Rebooted.

Stuck with this hateful stats:
Greyhole Statistics
===================

Storage Pool
Total - Used = Free + Trash = Possible
/var/hda/files/drives/drive1/gh: 917G - 420G = 450G + 106G = 556G
/var/hda/files/drives/drive2/gh: Offline
/var/hda/files/drives/drive4/gh: 917G - 336G = 534G + 104G = 638G
==========================================
Total: 1834G - 757G = 984G + 210G = 1194G

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Greyhole status - drives offline

Postby bigfoot65 » Sat Dec 28, 2013 9:44 pm

What does the /etc/fstab line look like for this drive? You might need to partition and format it using a different utility.

I had no issues with my 2TB drive getting it set up. When you used cfdisk, did you just make all the free space Primary, then write and quit? That's how I do it, then use the mkfs command for ext4 typically.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

whaites
Posts: 40
Joined: Mon Aug 26, 2013 6:22 pm

Re: Greyhole status - drives offline

Postby whaites » Sun Dec 29, 2013 3:25 pm

So I tried using GDisk to partition, but Greyhole is still offline.
WARNING: fdisk GPT support is currently new, and therefore in an experimental ph ase. Use at your own discretion.

Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk label type: gpt

# Start End Size Type Name
1 2048 4196351 2G Linux filesyste Linux filesystem
I don't even know if this is something that can be changed, but is there an issue with the Sector size having different sizes for logical/physical?

This is my fstab, I think it is ok.
# /etc/fstab
# Created by anaconda on Sun Dec 1 10:18:10 2013
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=5a29a40e-a091-47b5-b17b-c116e7618545 / ext4 defaults 1 1
UUID=b8ddfd92-f2bd-4f59-83f5-b4c88286c179 /boot ext4 defaults 1 2
UUID=6a89e32a-2814-40e9-8630-cbfa72209c3f /home ext4 defaults 1 2
UUID=dd9398ff-707b-4ab0-a246-e0c252bb132a swap swap defaults 0 0
UUID=0a796826-9d8f-472d-9aee-553410db9480 swap swap defaults 0 0
#
#1GB - WD GREEN
UUID=b00ac89a-ef29-48cf-91c9-7368815e8af4 /var/hda/files/drives/drive1 ext4 noatime,data=writeback,nofail 1 2
#
#2GB - WD RED
UUID=6bc9617f-d796-4375-9d0b-982c52816e52 /var/hda/files/drives/drive2 ext4 noatime,data=writeback,nofail 1 2
#
#2GB - WD GREEN
#HOSED
#
#1GB - SAMSUNG
UUID=518ee222-d02e-4269-9d52-245ed955f825 /var/hda/files/drives/drive4 ext4 noatime,data=writeback,nofail 1 2

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Greyhole status - drives offline

Postby bigfoot65 » Sun Dec 29, 2013 3:50 pm

Sure is a stubborn drive. I thought you formatted it as ext3? If so, might wanna change that in /etc/fstab.

Otherwise, not sure what else to recommend.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

whaites
Posts: 40
Joined: Mon Aug 26, 2013 6:22 pm

Re: Greyhole status - drives offline

Postby whaites » Sun Dec 29, 2013 3:57 pm

I've been formatting ext4. I think I'm gonna have to call it with this drive. Maybe I can swap it for one in my pc so it won't be a total loss.

If anyone else comes across this thread - please ping here if you get a Western Digital 2GB RED drive to work with greyhole. I'm thinking this drive uses their "Advanced Format" and that is my issue.

As always, thanks for the attention bigfoot65!

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Greyhole status - drives offline. WD 2GB RED Issue??

Postby bigfoot65 » Sun Dec 29, 2013 5:05 pm

No problem. Sorry I couldn't help you resolve it. Good luck!
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 35 guests