Announcement

Collapse
No announcement yet.

IDE monsters under my bed!

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    IDE monsters under my bed!

    Well, not so much.
    I'm not so new to Linux, (been using Kubuntu/Ubuntu for almost 2 years now) but I'm ashamed to say that I've remained quite the BASH dunce. Mostly because I've never had to do anything complicated.

    I've cobbled together a machine from old parts, and my intention is to make it into a fileserver for my friends and family. I plan on using six or seven low-capacity drives (10 and 20GB). However, the system doesn't want to mount anything other than the system drive.

    The BIOS recognizes all the drives that I have in (one on the original IDE port, two on the CDROM port, and one on a PCI hub).

    If anybody could give me instructions on adding extra IDE drives, it would be very much appreciated. Now I'm going to try putting everything except the system drive onto the IDE PCI bus.

    Thanks!
    Tabor

    #2
    Re: IDE monsters under my bed!

    If anybody could give me instructions on adding extra IDE drives
    The BIOS recognizes all the drives that I have in

    Hardware in Kubuntu

    Code:
    sudo lshw
    lshw - list hardware
    and/or
    Code:
    sudo fdisk -l
    fdisk - Partition table manipulator for Linux
    -l List the partition tables for the specified devices and then
    exit. If no devices are given, those mentioned in /proc/parti‐
    tions (if that exists) are used.

    Partitioning

    For partitioning: gparted
    Description: partition editor for GNOME
    It is a graphical editor which uses libparted to detect and manipulate
    devices and partition tables while several (optional) filesystem tools
    provide support for filesystems not included in libparted. These optional
    packages will be detected at runtime.
    It currently supports ext2, ext3, Reiser3, FAT, NTFS, XFS, JFS, HFS and
    Linux swap.
    It is in the repositories.

    Gnome Partition Editor
    http://gparted.sourceforge.net/

    Partitioning Windows and Ubuntu
    http://www.psychocats.net/ubuntu/partitioning

    Linux Partition HOWTO
    http://tldp.org/HOWTO/Partition/


    Mounting/Fstab

    How to fstab
    http://ubuntuforums.org/showthread.php?t=283131

    How to edit and understand /etc/fstab - 1.1
    http://www.tuxfiles.org/linuxhelp/fstab.html

    fstab
    http://en.wikipedia.org/wiki/Fstab
    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information

    Comment


      #3
      Re: IDE monsters under my bed!

      okay, with both lshw and fdsik-l, kubuntu recognizes both non-system disks. I was also able to partition one of them with fdisk, but whenever I attempt to mount it it I get
      mount: can't find /dev/hde in /etc/fstab or /etc/mtab
      Also, will GParted work under KDE? What about QTParted? Neither are in Adept, though I haven't searched for QTParted online.

      Comment


        #4
        Re: IDE monsters under my bed!

        Make a GParted Live CD, then you don't kare about kde!

        http://sourceforge.net/project/showf...kage_id=173828

        Comment


          #5
          Re: IDE monsters under my bed!

          Dur... I feel silly. I remembered a magical tool called "apt-get".
          I'm still confused as to how a GNOME program is running under KDE, but I try not to think about it. It prolly has something to do with gremlins....

          Now with fdisk -l I get information on all three hard disks. But the fstab problem remains. So how do I add information to the fstab file?

          Comment


            #6
            Re: IDE monsters under my bed!

            But the fstab problem remains. So how do I add information to the fstab file?
            fstab is text file -> you can edit it with text editor.

            So:
            Press Alt + F2:
            kdesu kate /etc/fstab

            Backup it before you edit it !
            Before you edit, BACKUP !

            Why there are dead links ?
            1. Thread: Please explain how to access old kubuntu forum posts
            2. Thread: Lost Information

            Comment


              #7
              Re: IDE monsters under my bed!

              What are you intentions for these drives? Do you want to keep the data separate? If you just trying to increase storage you might want to consider partitioning as LVM. This way they will be seen as one drive. Everytime you add a drive it will be "merged" with the other ones. Something to consider.

              eriefisher
              ~$sudo make me a sandwich

              Comment


                #8
                Re: IDE monsters under my bed!

                Originally posted by taborclayton

                I plan on using six or seven low-capacity drives (10 and 20GB).
                There's nothing I detest more than arrogant snobbery, so I hope what I'm about to write is not seen as being that ....

                But, do you know that you can buy a 320GB HDD for $75 USD? http://www.newegg.com/Product/Produc...82E16822136074

                How much of your time are you willing to spend fiddling around with those 10GB and 20GB drives - how can that make sense, if you actually need server capacity? If it were me, I'd ask my friends and family for $10 each, and solve it that way.

                Just wondering ....

                Comment


                  #9
                  Re: IDE monsters under my bed!

                  Don't forget the cost of the pci-ide controller to plug in the extra drives.
                  ~$sudo make me a sandwich

                  Comment


                    #10
                    Re: IDE monsters under my bed!

                    Heh, you all are right about it being more expensive and time-consuming using low capacity drives. Assuming I don't already have them...
                    I already have a PCI IDE bus, and plenty of drives. I'm just making old hardware useful again.

                    Anyhow, the kdesu command was magical, and I've set it up based on the tuxfiles article.
                    Code:
                    /dev/hda1 /media vfat auto,user,noexec,rw 0 0
                    /dev/hdb1 /media vfat auto,user,noexec,rw 0 0
                    If you didn't already guess, those are my fstab entries. But when I mount....
                    Code:
                    root@filez:~# mount /dev/hdb1
                    [mntent]: warning: no final newline at the end of /etc/fstab
                    mount: wrong fs type, bad option, bad superblock on /dev/hdb1,
                       missing codepage or other error
                       In some cases useful info is found in syslog - try
                       dmesg | tail or so
                    and
                    Code:
                    root@filez:~# mount /dev/hda1
                    [mntent]: warning: no final newline at the end of /etc/fstab
                    Any thoughts? It's worth mentioning that the two drives are near-identical Maxtors.

                    P.S. I'm a full time college freshman, but most of my classes are online. Plenty of time on my hands.

                    EDIT: hda1 mounts perfectly in Konquerer

                    Comment


                      #11
                      Re: IDE monsters under my bed!

                      Is this a dual boot machine? Could you post the whole /etc/fstab.
                      ~$sudo make me a sandwich

                      Comment


                        #12
                        Re: IDE monsters under my bed!

                        Those mount commands are incomplete. You need to spell out the filesystem type, the device to be mounted, and the mount point (which you need to make if you haven't already done so).

                        So, supposing you want to mount /dev/hda1 in /media. Make a mount point in media:

                        Code:
                        sudo mkdir /media/Maxtor_1
                        Then, to mount it there:

                        Code:
                        sudo mount -t ext3 /dev/hda1 /media/Maxtor_1

                        Something like that, anyway.


                        EDIT: What filesystem type are you formatting those drives as? FAT32? For a server? Hmmmmmm ....



                        Comment


                          #13
                          Re: IDE monsters under my bed!

                          Here is my fstab from Dapper as example:

                          Code:
                          # /etc/fstab: static file system information.
                          #
                          # <file system> <mount point>  <type> <options>    <dump> <pass>
                          proc /proc proc defaults 0 0
                          # root/home/swap
                          /dev/sda1 / ext3 nouser,defaults,errors=remount-ro,atime,auto,rw,dev,exec,suid 0 1
                          /dev/sda4 /home ext3 nouser,atime,auto,rw,nodev,exec,nosuid 0 2
                          /dev/sda3 none swap sw 0 0
                          # DVD/CD/floppy
                          /dev/hdc /media/cdrom0 udf,iso9660 user,atime,noauto,ro,dev,exec,suid 0 0
                          /dev/hdd /media/cdrom1 udf,iso9660 user,atime,noauto,ro,dev,exec,suid 0 0
                          /dev/fd0 /media/floppy0 auto user,atime,noauto,rw,dev,exec,suid 0 0
                          # fat
                          /dev/hda6 /media/fat/e vfat umask=000,uid=0,gid=0,auto,rw,nouser 0 0
                          /dev/hda7 /media/fat/f vfat umask=000,uid=0,gid=0,auto,rw,nouser 0 0
                          # data
                          /dev/sda2 /media/sata/sat1 ext3 nouser,defaults,atime,auto,rw,dev,exec,suid 0 3
                          /dev/sdb3 /media/sata/sat2 ext3 nouser,defaults,atime,auto,rw,dev,exec,suid 0 4
                          /dev/sdb4 /media/sata/sat3 ext3 nouser,defaults,atime,auto,rw,dev,exec,suid 0 5

                          Link:
                          Unofficial Ubuntu 6.06 (Dapper Drake) Starter Guide
                          http://ubuntuguide.org/wiki/Ubuntu_dapper

                          There is (among other things)
                          11.27 How to remount /etc/fstab without rebooting
                          17.4 How to mount Windows partitions (FAT) on boot-up, and allow all users to read/write
                          Before you edit, BACKUP !

                          Why there are dead links ?
                          1. Thread: Please explain how to access old kubuntu forum posts
                          2. Thread: Lost Information

                          Comment

                          Working...
                          X