Community Forum

Alen Nemet
Alen Nemet
Offline
Resolved
0 votes
Hello from Germany,
have some NEW HDD (3 TB) running on USB, formated with NTFS.

How can i mount this on Clear OS

System hostname ****.poweredbyclear.com
Operating system CentOS Linux 5.4
Webmin version 1.570
Time on system Wed Oct 12 11:58:46 2011
Kernel and CPU Linux 2.6.18-194.8.1.v5 on i686
Processor information Intel(R) Celeron(R) CPU 2.40GHz, 1 cores
System uptime 2 days, 11 hours, 24 minutes
Running processes 128
CPU load averages 0.17 (1 min) 0.27 (5 mins) 0.17 (15 mins)
CPU usage 0% user, 1% kernel, 5% IO, 94% idle
Real memory 494.63 MB total, 200.95 MB used
Virtual memory 1 GB total, 72 kB used
Local disk space 450.20 GB total, 433.04 GB used
Package updates All installed packages are up to date


[root@smu yum.repos.d]# ntfs-3g /dev/sda1 /home/anemet/usb1
ntfs-3g: Failed to access volume '/dev/sda1': Datei oder Verzeichnis nicht gefunden

ntfs-3g 2009.4.4 integrated FUSE 27 - Third Generation NTFS Driver

Copyright (C) 2005-2007 Yura Pakhuchiy
Copyright (C) 2006-2009 Szabolcs Szakacsits
Copyright (C) 2007-2009 Jean-Pierre Andre
Copyright (C) 2009 Erik Larsson

Usage: ntfs-3g [-o option[,...]] <device|image_file> <mount_point>

Options: ro (read-only mount), remove_hiberfile, uid=, gid=,
umask=, fmask=, dmask=, streams_interface=.
Please see the details in the manual (type: man ntfs-3g).

Example: ntfs-3g /dev/sda1 /mnt/windows

Ntfs-3g news, support and information: http://ntfs-3g.org


Can sombody help?
Regards
Wednesday, October 12 2011, 10:02 AM
Share this post:
Responses (13)
  • Accepted Answer

    Alen Nemet
    Alen Nemet
    Offline
    Thursday, November 10 2011, 02:28 PM - #Permalink
    Resolved
    0 votes
    Problem solved!!!

    On the GPT/EFI HDD we have 2 Partitions
    Example!
    fdisk -l

    WARNING: The size of this disk is 3.0 TB (3000592982016 bytes).
    DOS partition table format can not be used on drives for volumes
    larger than 2.2 TB (2199023255040 bytes). Use parted(1) and GUID
    partition table format (GPT).


    Platte /dev/sdf: 3000.5 GByte, 3000592982016 Byte
    256 heads, 63 sectors/track, 363376 cylinders
    Einheiten = Zylinder von 16128 × 512 = 8257536 Bytes

    Gerät boot. Anfang Ende Blöcke Id System
    /dev/sdf1 1 266306 2147483647+ ee EFI GPT

    WARNING: GPT (GUID Partition Table) detected on '/dev/sdf'! The util fdisk doesn't support GPT. Use GNU Parted.

    !!! there is also an /dev/sdf2 but not showing !!!

    WORKING = mount -t ntfs-3g /dev/sdf2 /home/"mountpoint"

    Regards
    The reply is currently minimized Show
  • Accepted Answer

    Louis
    Louis
    Offline
    Monday, November 07 2011, 09:22 PM - #Permalink
    Resolved
    0 votes
    i have given up using the GPT/EFI even with the updated kernel that tim provides the parted utility is too old to use so mounting a 3TB in clearOs is impossible until that is fixed. i am now just going to mount it using ntfs-3g which i have done by updating the fuse drivers the only thing is i cannot mount it by it uuid every-time i try i get a cannot find error so i have to use the partition label which is /dev/sde1 the bad thing about doing that is the system may not give it that label upon reboot any ideas on how to for this?
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, October 12 2011, 12:39 PM - #Permalink
    Resolved
    0 votes
    There is a 32bit version of CleaOS 6.1 Enterprise Beta1...but it's only beta and doesn't have much functionality yet!

    You might want to consider testing a newer kernel, as EFI / GPT support maybe better
    http://www.clearfoundation.com/component/option,com_kunena/Itemid,232/catid,40/func,view/id,8484/
    The reply is currently minimized Show
  • Accepted Answer

    Alen Nemet
    Alen Nemet
    Offline
    Wednesday, October 12 2011, 12:27 PM - #Permalink
    Resolved
    0 votes
    can i update to 6.1 Alpha? Have no x64 CPU ...

    Regards Alen
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, October 12 2011, 12:21 PM - #Permalink
    Resolved
    0 votes
    Ugh... it's really not your day!. I'm just trying to find out what your partition should be, as it's not recognised by the system.

    It appears parted doesn't like the size of your disk either!

    This link doesnt provide good reading...and suggests there is some automagic at the USB interface level to convert sector sizes, it's possible that your drive may just be too big for the linux tools / system found in ClearOS5.2, without perhaps a kernel upgrade? or newer version, 6.1 perhaps?
    http://ubuntuforums.org/showthread.php?t=1536933
    The reply is currently minimized Show
  • Accepted Answer

    Alen Nemet
    Alen Nemet
    Offline
    Wednesday, October 12 2011, 12:04 PM - #Permalink
    Resolved
    0 votes
    [root@smu yum.repos.d]# parted /dev/sda print
    Backtrace has 8 calls on stack:
    8: /usr/lib/libparted-1.8.so.0(ped_assert+0x3b) [0x7c2f3b]
    7: /usr/lib/libparted-1.8.so.0 [0x806677]
    6: /usr/lib/libparted-1.8.so.0(ped_disk_new+0xa3) [0x7cbbb3]
    5: parted [0x804d21b]
    4: parted(non_interactive_mode+0x7c) [0x8052c9c]
    3: parted(main+0x58) [0x8050f58]
    2: /lib/libc.so.6(__libc_start_main+0xdc) [0x125e9c]
    1: parted [0x804b521]


    You found a bug in GNU Parted! Here's what you have to do:

    Don't panic! The bug has most likely not affected any of your data.
    Help us to fix this bug by doing the following:

    Check whether the bug has already been fixed by checking
    the last version of GNU Parted that you can find at:

    http://ftp.gnu.org/gnu/parted/

    Please check this version prior to bug reporting.

    If this has not been fixed yet or if you don't know how to check,
    please visit the GNU Parted website:

    http://www.gnu.org/software/parted

    for further information.

    Your report should contain the version of this release (1.8.1)
    along with the error message below, the output of

    parted DEVICE unit co print unit s print

    and additional information about your setup you consider important.

    Assertion ((PedSector) PED_LE64_TO_CPU (gpt->AlternateLBA) <= disk->dev->length - 1) at gpt.c:815 in function gpt_read() failed.


    Ignorieren/Ignore/Abbrechen/Cancel?
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, October 12 2011, 11:57 AM - #Permalink
    Resolved
    0 votes
    D'oh...
    yum install parted
    The reply is currently minimized Show
  • Accepted Answer

    Alen Nemet
    Alen Nemet
    Offline
    Wednesday, October 12 2011, 11:51 AM - #Permalink
    Resolved
    0 votes
    #

    [root@smu yum.repos.d]# parted /dev/sda print
    -bash: parted: command not found

    Regards Alen
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, October 12 2011, 11:49 AM - #Permalink
    Resolved
    0 votes
    OK so it uses a GPT partition table, there are some clues on the net for ntfs-3g and GPT partitions

    Whats the output of:-
    parted /dev/sda print
    The reply is currently minimized Show
  • Accepted Answer

    Alen Nemet
    Alen Nemet
    Offline
    Wednesday, October 12 2011, 11:29 AM - #Permalink
    Resolved
    0 votes
    #

    [root@smu yum.repos.d]# fdisk -l /dev/sda

    WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


    WARNING: The size of this disk is 2.2 TB (2199023255552 bytes).
    DOS partition table format can not be used on drives for volumes
    larger than 2.2 TB (2199023255040 bytes). Use parted(1) and GUID
    partition table format (GPT).


    Platte /dev/sda: 2199.0 GByte, 2199023255552 Byte
    256 heads, 63 sectors/track, 266305 cylinders
    Einheiten = Zylinder von 16128 × 512 = 8257536 Bytes

    Gerät boot. Anfang Ende Blöcke Id System
    /dev/sda1 1 266306 2147483647+ ee EFI GPT

    Regards Alen
    The reply is currently minimized Show
Your Reply