Home of the Squeezebox™ & Transporter® network music players.
Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 31
  1. #21
    Senior Member
    Join Date
    May 2006
    Location
    UK
    Posts
    152
    Hi,
    Grab a copy of GParted bootable cd iso from here:

    http://gparted-livecd.tuxfamily.org/

    A nice GUI disk management tool.

    Doug.

  2. #22
    Junior Member
    Join Date
    Jan 2008
    Posts
    23

    anyone using ubuntu server edition?

    As well as the gparted boot disk. You could also try

    cfdisk /dev/hdd

    I think cfdisk is a bit friendlier than fdisk




    -----Original Message-----
    From: fast eddie <fast.eddie.358xbc1203790802 (AT) no-mx (DOT) forums.slimdevices.com>
    Date: Sat, 23 Feb 2008 10:16:18
    To:unix (AT) lists (DOT) slimdevices.com
    Subject: Re: [SlimDevices: Unix] anyone using ubuntu server edition?


    I am having trouble getting the 2nd HDD mounted.

    I have tried to format it and mount it following the directions here:
    http://www.ulverston.myzen.co.uk/min.../harddrive.htm

    but I get this error when I run sudo fdisk -l

    [root@serverSB3server ~]# sudo fdisk -l

    Disk /dev/hdc: 300.0 GB, 300090728448 bytes
    255 heads, 63 sectors/track, 36483 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hdc1 * 1 10 80293+ 83 Linux
    /dev/hdc2 11 75 522112+ 82 Linux swap
    /dev/hdc3 76 36483 292447260 83 Linux

    Disk /dev/hdd: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

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

    Can someone explain what I am doing wrong and how I can get it to
    work.

    Thanks for your help


    --
    fast eddie
    ------------------------------------------------------------------------
    fast eddie's Profile: http://forums.slimdevices.com/member.php?userid=7826
    View this thread: http://forums.slimdevices.com/showthread.php?t=42989


  3. #23
    Member fast eddie's Avatar
    Join Date
    Oct 2006
    Location
    London
    Posts
    93
    Thanks for the suggestions. Before I do that would it be easier and better to start again by re-installing CC? Would it automatically pick up the fact that there are 2 HDD and format/partition them automatically? If I did re-install would it make one big partition of 750Gish (or whatever it is that a 250G and a 500G HDD would be)

    I have only put a small amount of music on there to make sure that it was working so it would not be a real pain if that was the easiest thing to do.
    Last edited by fast eddie; 2008-02-23 at 15:30.

  4. #24
    Senior Member
    Join Date
    Sep 2006
    Location
    Danmark
    Posts
    1,307
    Quote Originally Posted by fast eddie View Post
    Disk /dev/hdd doesn't contain a valid partition table

    Can someone explain what I am doing wrong and how I can get it to work.
    This is no error, if the disk is brand new its not formatted and so there is no partition table. Just do 'sudo fdisk /dev/hdd' or 'sudo cfdisk /dev/hdd' if you preffer. Create the partitions, and do 'sudo mkfs -t ext3 /dev/hdd1'. Note ext3 is the filesystem type and you may have other preferences, hdd1 is the partition you made with fdisk.
    b.

  5. #25
    Member fast eddie's Avatar
    Join Date
    Oct 2006
    Location
    London
    Posts
    93
    Quote Originally Posted by bhaagensen View Post
    This is no error, if the disk is brand new its not formatted and so there is no partition table. Just do 'sudo fdisk /dev/hdd' or 'sudo cfdisk /dev/hdd' if you preffer. Create the partitions, and do 'sudo mkfs -t ext3 /dev/hdd1'. Note ext3 is the filesystem type and you may have other preferences, hdd1 is the partition you made with fdisk.
    b.
    I have just done what you suggested and I am still getting the message: Disk /dev/hdd doesn't contain a valid partition table

    When I look in etc/mnt it is showing that HDD is there.

    Am I doing something wrong or is it working and I just dont know it because my Linux knowledge is very small?

    Is there a command that will tell me what the sizes are of the mounted partitions?

    Sorry to be a pain,

    I think I have sussed it:

    Is this what it should look like if it is mounted correctly after the command: sudo fdisk -l

    [root@serverSB3server ~]# sudo fdisk -l

    Disk /dev/hdc: 300.0 GB, 300090728448 bytes
    255 heads, 63 sectors/track, 36483 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hdc1 * 1 10 80293+ 83 Linux
    /dev/hdc2 11 75 522112+ 82 Linux swap
    /dev/hdc3 76 36483 292447260 83 Linux

    Disk /dev/hdd: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hdd1 1 60801 488384001 83 Linux
    [root@serverSB3server ~]#
    Last edited by fast eddie; 2008-02-24 at 01:32. Reason: may have done it !

  6. #26
    Senior Member
    Join Date
    Sep 2006
    Location
    Danmark
    Posts
    1,307
    Quote Originally Posted by fast eddie View Post
    [root@serverSB3server ~]# sudo fdisk -l

    Disk /dev/hdc: 300.0 GB, 300090728448 bytes
    255 heads, 63 sectors/track, 36483 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hdc1 * 1 10 80293+ 83 Linux
    /dev/hdc2 11 75 522112+ 82 Linux swap
    /dev/hdc3 76 36483 292447260 83 Linux

    Disk /dev/hdd: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hdd1 1 60801 488384001 83 Linux
    [root@serverSB3server ~]#
    Looks good, does it work?

    B.

  7. #27
    Member fast eddie's Avatar
    Join Date
    Oct 2006
    Location
    London
    Posts
    93
    it appears to, just need to figure out how to make a symlink so I can have a shortcut from the directory on the 1st HD to the 2nd HD as I have more music than will fit on the 1st HD.

    Any ideas would be greatly appreciated.

    I have found this command but a bit confused as to what the paths are for the command: ln -s /media/MY_OTHER_DISK/Music /home/my_home/Music/from_other_disk

    on the 1st HD the files are stored here: /media/SB3 Files and the 2nd HD I have mounted it here /mnt/HardDrive/SB3 Files cont

    Bit confused as to which path goes where in the above command line

    Hopefully that makes sense

    Is there a command I can use to show how much free space there is on each of the drives as well?

    Thanks for the help - it is very much appreciated,

    Graham

  8. #28
    Senior Member
    Join Date
    Sep 2006
    Location
    Danmark
    Posts
    1,307
    Quote Originally Posted by fast eddie View Post

    on the 1st HD the files are stored here: /media/SB3 Files and the 2nd HD I have mounted it here /mnt/HardDrive/SB3 Files cont
    'ln -s /media/SB3\ Files /mnt/HardDrive/SB3\ Files\ cont/HD1'

    will make the files on the 1st hd available under the 2nd in a directory HD1.

    Is there a command I can use to show how much free space there is on each of the drives as well?
    'df'

  9. #29
    Member fast eddie's Avatar
    Join Date
    Oct 2006
    Location
    London
    Posts
    93
    Quote Originally Posted by bhaagensen View Post
    'ln -s /media/SB3\ Files /mnt/HardDrive/SB3\ Files\ cont/HD1'

    will make the files on the 1st hd available under the 2nd in a directory HD1.



    'df'
    That didnt seem to work saying no such file or directory
    [root@serverSB3server ~]# ln -s /media/SB3\ Files /mnt/HardDrive/SB3\ Files\ cont/HD1
    ln: creating symbolic link `/mnt/HardDrive/SB3 Files cont/HD1' to `/media/SB3 Files': No such file or directory
    [root@serverSB3server ~]# ln -s /media/SB3\ Files /mnt/HardDrive/SB3\ Files\ cont/HD1
    ln: creating symbolic link `/mnt/HardDrive/SB3 Files cont/HD1' to `/media/SB3 Files': No such file or directory
    [root@serverSB3server ~]# ln -s /media/SB3\ Files /mnt/HardDrive/SB3\ Files\ cont/HDd1
    ln: creating symbolic link `/mnt/HardDrive/SB3 Files cont/HDd1' to `/media/SB3 Files': No such file or directory

    and when I do df it doesnt show the 500G hdd1 partition:

    [root@serverSB3server ~]# df
    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/hdc3 287781685 158601951 114557371 59% /
    /dev/hdc1 78999 7604 67381 11% /boot
    none 253440 0 253440 0% /dev/shm
    [root@serverSB3server ~]#

    Now I am completely confused
    Last edited by fast eddie; 2008-02-24 at 06:30.

  10. #30
    Senior Member
    Join Date
    Sep 2006
    Location
    Danmark
    Posts
    1,307
    Quote Originally Posted by fast eddie View Post
    [root@serverSB3server ~]# df
    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/hdc3 287781685 158601951 114557371 59% /
    /dev/hdc1 78999 7604 67381 11% /boot
    none 253440 0 253440 0% /dev/shm
    [root@serverSB3server ~]#

    Now I am completely confused
    Are you absolutely sure you have mounted the drives. I may be stating the obvious, but fdisk does not need the drives to be mounted in order to return work.

    B.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •