Sign up here and you can log into the forum!

What's the problem with GPT (>2 TB) support?

Have a question about devices internals, memory layout, reverse engineering, etc---This is the place for anything so technical that it would cause a n00b's head to 'splode

Re: What's the problem with GPT (>2 TB) support?   

Postby mad_ady » Mon Aug 24, 2015 11:27 pm

It still says busybox version is 1.19. It should say it's 1.14.

Can you give me the output of:
Code: Select all
ls -l /conf/S99user-script
cat /conf/S99user-script
mount | grep busybox


You can also run /conf/S99user-script from the command line and see if there's any difference or error message.
User avatar
mad_ady
Developer
 
Posts: 4564
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: What's the problem with GPT (>2 TB) support?   

Postby rgalka » Wed Aug 26, 2015 5:30 pm

This is exciting.... I have been bummed all this time because I purchased a live plus and was told that it was the only model that couldn't run external drives bigger than 2T.. so I purchased 2 2T drives and things were running well... but eventually they both got filled up.... I was just thinking about a USB powered hub, but hesitated because of all the power boxes involved... but now there is hope ;O)

I will wait to hear what the final results are on this.. thank you for all the work you guys are doing. ;O)
rgalka
Donor
 
Posts: 132
Joined: Fri Jun 24, 2011 11:37 am

Re: What's the problem with GPT (>2 TB) support?   

Postby mad_ady » Wed Aug 26, 2015 10:38 pm

Don't worry, we have no idea what we're doing :lol:
User avatar
mad_ady
Developer
 
Posts: 4564
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: What's the problem with GPT (>2 TB) support?   

Postby rgalka » Thu Aug 27, 2015 7:23 am

mad_ady wrote:Don't worry, we have no idea what we're doing :lol:


Well that may be, but you have the curiosity and fearlessness to just plunge into the dark waters of WDLXTV... and I applaud the work you are doing ;O)
rgalka
Donor
 
Posts: 132
Joined: Fri Jun 24, 2011 11:37 am

Re: What's the problem with GPT (>2 TB) support?   

Postby lovilela » Wed Sep 02, 2015 7:12 pm

mad_ady wrote:It still says busybox version is 1.19. It should say it's 1.14.

Can you give me the output of:
Code: Select all
ls -l /conf/S99user-script
cat /conf/S99user-script
mount | grep busybox


You can also run /conf/S99user-script from the command line and see if there's any difference or error message.

I'm back... sorry for taking so long to return, have been busy days at work.

So, good news. Your hunch on busybox version issue was right. I managed to fix the S99user-script (wrong path :roll: ) and here are the results:
Code: Select all
`..        `..`.....    `..      `..      `..`... `......`..         `..
`..        `..`..   `.. `..       `..   `..       `..     `..       `..
`..   `.   `..`..    `..`..        `.. `..        `..      `..     `..
`..  `..   `..`..    `..`..          `..          `..       `..   `..
`.. `. `.. `..`..    `..`..        `.. `..        `..        `.. `..
`. `.    `....`..   `.. `..       `..   `..       `..         `....
`..        `..`.....    `........`..      `..     `..          `..
                    1.05.04_B.WDLXTV_PLUS-0.5.2.2
#
# fdisk
BusyBox v1.14.1 (2011-01-24 12:20:37 CST) multi-call binary

Usage: fdisk [-ul] [-C CYLINDERS] [-H HEADS] [-S SECTORS] [-b SSZ] DISK

Change partition table

Options:
        -u              Start and End are in sectors (instead of cylinders)
        -l              Show partition table for each DISK, then exit
        -b 2048         (for certain MO disks) use 2048-byte sectors
        -C CYLINDERS    Set number of cylinders/heads/sectors
        -H HEADS

        -S SECTORS

#
# fdisk -l

Disk /dev/sigmblocka: 267 MB, 267911168 bytes
255 heads, 63 sectors/track, 32 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblocka doesn't contain a valid partition table

Disk /dev/sigmblockb: 0 MB, 524288 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockb doesn't contain a valid partition table

Disk /dev/sigmblockc: 0 MB, 262144 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockc doesn't contain a valid partition table

Disk /dev/sigmblockd: 3 MB, 3145728 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockd doesn't contain a valid partition table

Disk /dev/sigmblocke: 3 MB, 3145728 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblocke doesn't contain a valid partition table

Disk /dev/sigmblockf: 16 MB, 16777216 bytes
255 heads, 63 sectors/track, 2 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockf doesn't contain a valid partition table

Disk /dev/sigmblockg: 8 MB, 8388608 bytes
255 heads, 63 sectors/track, 1 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockg doesn't contain a valid partition table

Disk /dev/sigmblockh: 94 MB, 94371840 bytes
255 heads, 63 sectors/track, 11 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockh doesn't contain a valid partition table

Disk /dev/sigmblocki: 94 MB, 94371840 bytes
255 heads, 63 sectors/track, 11 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblocki doesn't contain a valid partition table

Disk /dev/sigmblockj: 0 MB, 131072 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockj doesn't contain a valid partition table

Disk /dev/sigmblockk: 0 MB, 131072 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockk doesn't contain a valid partition table

Disk /dev/sigmblockl: 0 MB, 131072 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockl doesn't contain a valid partition table

Disk /dev/sdb: 5000.9 GB, 5000981077504 bytes
255 heads, 63 sectors/track, 608001 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sdb1               1      267350  2147483647+ ee EFI GPT

Disk /dev/sda: 4040 MB, 4040724480 bytes
125 heads, 62 sectors/track, 1018 cylinders
Units = cylinders of 7750 * 512 = 3968000 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1   ?      247372      464253   840415161  69 Unknown
Partition 1 has different physical/logical beginnings (non-Linux?):
     phys=(612, 109, 33) logical=(247371, 31, 10)
Partition 1 has different physical/logical endings:
     phys=(255, 97, 46) logical=(464252, 72, 39)
Partition 1 does not end on cylinder boundary
/dev/sda2   ?      249929      469507   850868148+ ff Unknown
Partition 2 has different physical/logical beginnings (non-Linux?):
     phys=(367, 115, 35) logical=(249928, 7, 17)
Partition 2 has different physical/logical endings:
     phys=(80, 13, 10) logical=(469506, 116, 55)
Partition 2 does not end on cylinder boundary
/dev/sda3   ?      228163      456307   884061367  6c Unknown
Partition 3 has different physical/logical beginnings (non-Linux?):
     phys=(355, 116, 37) logical=(228162, 8, 52)
Partition 3 has different physical/logical endings:
     phys=(112, 97, 32) logical=(456306, 117, 27)
Partition 3 does not end on cylinder boundary
/dev/sda4   ?      372346      372353       27107   0 Empty
Partition 4 has different physical/logical beginnings (non-Linux?):
     phys=(10, 114, 13) logical=(372345, 119, 25)
Partition 4 has different physical/logical endings:
     phys=(0, 0, 0) logical=(372352, 118, 50)
Partition 4 does not end on cylinder boundary

Partition table entries are not in disk order
#

So, sdb1 is showing 5000.9GB, as it should. Nevermind sda1, it is my thumb drive with busybox.

By the way, so far the drive is fine, all movies working, nothing to complain. To be honest, I'm inclined to say "case is closed", but I'm afraid of what may happen as my drive gets more and more populated, getting near 4TB or 5TB. Will it get corrupted (and all files lost) or it will just not mount anymore, leaving at least the files intact?
lovilela
n00b
 
Posts: 17
Joined: Wed Aug 12, 2015 6:01 pm

Re: What's the problem with GPT (>2 TB) support?   

Postby mad_ady » Wed Sep 02, 2015 10:58 pm

In theory it should work - I was curious why it wouldn't work in the first place. The system tools seem to support it, except for fdisk, but as long as you don't want to repartition your drive from WDTV, you should be fine even with the broken fdisk. The only hidden risk is if WD's closed source tools do anything freaky with the disk and can't understand that it is GPT. But I doubt that is the case, since on stock firmwares the drives work.

We still don't know why it doesn't work for some users, but I encourage people to try it out and see if it works for them. If not, report back.
User avatar
mad_ady
Developer
 
Posts: 4564
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: What's the problem with GPT (>2 TB) support?   

Postby lovilela » Thu Sep 03, 2015 4:06 pm

Yes, I guess that's because some people just use a MBR-partitioned drive and actually doesn't have a clue on what is GPT and MBR.

By the way, another report: the drive can be seem in full in my network, so Samba works. I have copied large files from/to it through the network with no problems at all. Also, I have played some movies over the network on tablets and again, flawless, couldn't be happier.

So, I'll keep using the drive hooked to my WDTV and report should I notice any fail.

Thank you for all the support on this thread!
lovilela
n00b
 
Posts: 17
Joined: Wed Aug 12, 2015 6:01 pm

Re: What's the problem with GPT (>2 TB) support?   

Postby rgalka » Thu Sep 03, 2015 5:37 pm

"Yes, I guess that's because some people just use a MBR-partitioned drive and actually doesn't have a clue on what is GPT and MBR."

I have a clue, but that is about as far as it goes.. ;O)

So.. if I should go shopping for a 4t external drive.. usb 3 I guess.. is there anything I should look for or any Western Digital, Seagate will do.

And then when I get it home do I have to do anything to prepare it? my other WD 2t drives I formatted as NTFS so for large MKV files.

A little bullet list of steps would be most helpful....


Thank you all for what you do ;O)

Bob
rgalka
Donor
 
Posts: 132
Joined: Fri Jun 24, 2011 11:37 am

Re: What's the problem with GPT (>2 TB) support?   

Postby lovilela » Wed Sep 09, 2015 5:27 pm

Bob,
Well, what I can say is that a Seagate Backup Plus 5TB is working. I haven't change the original partitioning (GPT) and I formatted the main partition in EXT3, over the original NTFS. Actually NTFS was working as well, if I remember it right, but EXT3 is better for WDTV and rtorrent (at least that's what I read).

But really, think about a plan B: if you buy it and doesn't work, can you return the drive, i.e. have you bought it in BestBuy or similar store? If that's not an alternative, can you hook the drive somewhere else? In my case, if things go wrong I could always hook the drive on my router and access it through the network, not ideal but not a big problem.

So... give your WDTV this last chance and try..

Leandro
lovilela
n00b
 
Posts: 17
Joined: Wed Aug 12, 2015 6:01 pm

Re: What's the problem with GPT (>2 TB) support?   

Postby rgalka » Thu Sep 10, 2015 7:45 am

@lovilela... thanks for your reply...

Certainly I can always use and extra 5T [ if I remember correctly one of the Star Trek movies where they were taking possession the brand new Enterprise, Spock mentioned that the computer system was equipped with 4 terra bytes ;O) ]

I was just confused about the formatting of the drive. But if I understand you correctly that I would at a minimum reformat for NTFS for large file sizes, and EXT3 for improved performance... I will have to search here on how to format for EXT3 and if that is only recommended for torrents... which I do not use.. I only use my WDTV to watch video, and listen to music.. I do not do any streaming.

Thanks again and I will be looks for sales on external drives... will report back... ;O)

bob
rgalka
Donor
 
Posts: 132
Joined: Fri Jun 24, 2011 11:37 am

PreviousNext

Return to WDTV Live

Who is online

Users browsing this forum: No registered users and 1 guest