View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 2 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Fri Oct 14, 2011 3:49 pm 
Offline
Joined: Wed May 09, 2007 8:47 pm
Posts: 367
Location: Minnesota- Brrrrr!
The MyBook is setup so that when plugged into an XP box, it automagically skips the WD bloatware and adds a logical drive.

Gparted shows that the Western Digital 3TB MyBook Essential is formatted with NTFS. When connected to my mythbox, I believe it came up as /dev/sdb. Why is sdb1 only a fraction of sdb? When the HDD is connected to an XP machine, the device shows 3GB (actually 2.7GB) capacity.

Quote:
[root@mythtv asterisk-1.8.5.0]# cat /proc/partitions
major minor #blocks name
8 0 199147487 sda
8 1 5116671 sda1
8 2 2040255 sda2
8 3 191984782 sda3
8 16 2930233344 sdb
8 17 782748672 sdb1

[root@mythtv asterisk-1.8.5.0]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 4.9G 4.0G 589M 88% /
none 996M 0 996M 0% /dev/shm
/dev/sda3 181G 90G 82G 53% /myth


Severall attempts to mount the device were made:

Quote:
[root@mythtv asterisk-1.8.5.0]# mkdir /mnt/usbhdd
[root@mythtv asterisk-1.8.5.0]# ntfs-3g /dev/sdb1 /mnt/usbhdd
Failed to read last sector (732558079): Invalid argument
HINTS: Either the volume is a RAID/LDM but it wasn't setup yet,
or it was not setup correctly (e.g. by not using mdadm --build ...),
or a wrong device is tried to be mounted,
or the partition table is corrupt (partition is smaller than NTFS),
or the NTFS boot sector is corrupt (NTFS size is not valid).
Failed to mount '/dev/sdb1': Invalid argument
The device '/dev/sdb1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
[root@mythtv asterisk-1.8.5.0]# ntfs-3g /dev/sdb /mnt/usbhdd
NTFS signature is missing.
Failed to mount '/dev/sdb': Invalid argument
The device '/dev/sdb' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?


I should have checked this before I moved 120GB of data on to this drive. I would like this drive to be compatible with my mythbox. My guess is that the WD bloatware is the cause and that I need to reformat the reformat the drive, which means copying the 120GB to another drive.

If I format (with Gparted) the drive with NTFS, I believe I should expect to lose the data, but will this take care of the problem above, where a UNIX kernel can not see the NTFS partition?

_________________
R7.3: 0.22.20091023-1, Hauppauge PVR-500 (Philips FQ1236A MK4), Gigabyte Gigabyte EG45M-UD2H, E5200 2.4Ghz, 2GB RAM, NVIDIA GEFORCE 256MB


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 14, 2011 10:31 pm 
Offline
Joined: Wed May 09, 2007 8:47 pm
Posts: 367
Location: Minnesota- Brrrrr!
Archlinux Issue?
===========
I noticed that when did cat /proc partitions using systemrecue cd, I could mount the NTFS partition and view the files on the NTFS partition.

Update
======
I repartioned the drive with Gparted and it:

Quote:
[root@mythtv ~]# cat /proc/partitions
major minor #blocks name

8 0 199147487 sda
8 1 5116671 sda1
8 2 2040255 sda2
8 3 191984782 sda3
8 16 2930233344 sdb
8 17 782748672 sdb1

[root@mythtv ~]# ntfs-3g /dev/sdb1 /mnt/usbhdd
Failed to read last sector (732558079): Invalid argument
HINTS: Either the volume is a RAID/LDM but it wasn't setup yet,
or it was not setup correctly (e.g. by not using mdadm --build ...),
or a wrong device is tried to be mounted,
or the partition table is corrupt (partition is smaller than NTFS),
or the NTFS boot sector is corrupt (NTFS size is not valid).
Failed to mount '/dev/sdb1': Invalid argument
The device '/dev/sdb1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?

[root@mythtv ~]# ntfs-3g /dev/sdb /mnt/usbhdd
NTFS signature is missing.
Failed to mount '/dev/sdb': Invalid argument
The device '/dev/sdb' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?


Not sure why Archlinux can not see the partition properly and SysRescueCD can.

Update
======

Gparted the drive into a 2GB partition and 0.8GB partition (both NTFS). I would prefer one large partition, however, this seems to be the price of compatibility for accommodating NTFS and UNIX.

Quote:
[root@mythtv ~]# cat /proc/partitions
major minor #blocks name

8 0 199147487 sda
8 1 5116671 sda1
8 2 2040255 sda2
8 3 191984782 sda3
8 16 2930233344 sdb
8 17 2048000000 sdb1
8 18 882232320 sdb2

_________________
R7.3: 0.22.20091023-1, Hauppauge PVR-500 (Philips FQ1236A MK4), Gigabyte Gigabyte EG45M-UD2H, E5200 2.4Ghz, 2GB RAM, NVIDIA GEFORCE 256MB


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 20 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu