Opened 10 years ago

Closed 10 years ago

#7949 closed enhancement (invalid)

Multiple identical partitions on identical drives are listed as only one Mythtv drive

Reported by: fargher@… Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: MythTV - General Version: 0.22-fixes
Severity: high Keywords:
Cc: Ticket locked: no

Description

I've just built a new system for a client, using five new 1.5 TB Seagate drives for storage (with a separate boot drive), using Mythbuntu Karmic.

If each storage drive is partitioned identically, MythTV assigns the identical partitions of all the drives to a single MythTV drive, instead of each to their own MythTV drive. It does not matter if the drives have a single partition or two partitions as long as the drives are partitioned identically.

It does not matter if the identical partitions are in the same storage group or in their own individual storage groups, they are concatenated to a single directory (as reported on the MythWeb status page, see attached screenshot snapshot1.png).

Instead of having the entire 7.5 TB available, only 1.5 TB is made available, i.e. the size of only one drive, not all five installed and configured.

This seems to be file system independent; I tried both xfs and ext4 (but a mixture of file systems wasn't tested as I've only just thought of it.)

I worked around this problem by making the partition sizes slightly different on each drive, which yielded proper behaviour.

Attachments (1)

snapshot.png (122.7 KB) - added by fargher@… 10 years ago.
Screenshot of MythWeb showing identical partitions being assigned to only one MythtTV drive and reporting the size of only one partition instead of all of them.

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by fargher@…

Attachment: snapshot.png added

Screenshot of MythWeb showing identical partitions being assigned to only one MythtTV drive and reporting the size of only one partition instead of all of them.

comment:1 Changed 10 years ago by cpinkham

Resolution: invalid
Status: newclosed
Type: defectenhancement

This is a known issue that automatically corrects itself once you have the first recording on each drive. We have not come up with a determinate, easy, replicatable solution to determine whether filesystems are indeed the same filesystem, links to the same filesystem, bind mounts, nfs mounts, cifs mounts, etc. blah to the same filesystem. Linux (and presumably *BSD*) do not expose the actual fsid to the user because it is a security risk, so we can only rely on file system type, size, available and total space when determining whether multiple directories are on the same filesystem.

Closing this as a feature request without a patch unless someone can come up with a way that works as a non-root user and is replicatable.

Note: See TracTickets for help on using tickets.