Results 1 to 7 of 7

Thread: Mounting RAID partition on startup

  1. #1
    Join Date
    Jan 2009
    Location
    In front of a computer
    Beans
    409
    Distro
    Xubuntu

    Question [Solved] Mounting RAID partition on startup

    I have followed this tutorial and successfully made my IDE hard drive mount on startup with correct permissions. (Thanks Psychocats!) I've tried to do the same for the RAID partition. Only, cciss/c0d0p8 instead of /sda and I just get errors.
    Code:
    mkdir: cannot create directory `/cciss/c0d0p8': No such file or directory
    &
    Code:
    mount: mount point /cciss/c0d0p8 does not exist
    Last edited by linuxuser21; May 1st, 2009 at 05:43 AM.

  2. #2
    Join Date
    Feb 2007
    Location
    Cameron Park CA USA
    Beans
    4,571
    Distro
    Ubuntu Development Release

    Re: Mounting RAID partition on startup

    mkdir: cannot create directory `/cciss/c0d0p8': No such file or directory
    I'm sure you can do this... where is /cciss?

    If it already exist then move there and then create /c0d0p8.
    Regards, frank, at http://yantrayoga.typepad.com/noname/
    Homebuilt Lian-Li PC-Q33WB, Intel i7-4790K 4.6GHz, SSDs,32G RAM | Dell Laptop 13.3".
    Oracle VBox w/ WinXP/Win10 running Xara Designer, PaintShopPro, and InDesign CS.

  3. #3
    Join Date
    Jan 2009
    Location
    In front of a computer
    Beans
    409
    Distro
    Xubuntu

    Re: Mounting RAID partition on startup

    It's in /dev.
    instead of a normal hard drive: /dev/sda, it's /dev/cciss/c0d0p8.
    Attached Images Attached Images
    Last edited by linuxuser21; April 30th, 2009 at 05:37 PM.

  4. #4
    Join Date
    Feb 2007
    Location
    Cameron Park CA USA
    Beans
    4,571
    Distro
    Ubuntu Development Release

    Re: Mounting RAID partition on startup

    I must admit I'm not sure what you have... raid, I don't see it. If it's raid then it's hardware raid, from a card or the like, and you need a driver to mount the array first, before you can see it.

    What is this /dev/cciss, please?

    Anyway, make a mountpoint somewhere on your boot drive, e.g., /home/raid then you can mount the partition as needed.

    Code:
    sudo mkdir /home/raid
    
    sudo mount /dev/cciss /home/raid
    That might do what you wish.
    Last edited by fjgaude; April 30th, 2009 at 05:58 PM.
    Regards, frank, at http://yantrayoga.typepad.com/noname/
    Homebuilt Lian-Li PC-Q33WB, Intel i7-4790K 4.6GHz, SSDs,32G RAM | Dell Laptop 13.3".
    Oracle VBox w/ WinXP/Win10 running Xara Designer, PaintShopPro, and InDesign CS.

  5. #5
    Join Date
    Jan 2009
    Location
    In front of a computer
    Beans
    409
    Distro
    Xubuntu

    Re: Mounting RAID partition on startup

    Yes, it's hardware RAID. If you look at my signature, I have 3 72.8gb SCSI drives with a HP Smart Array 641 controller (set up as RAID 5). Of course this means that the computer picks it up as 1 logical drive. In the screenshot I have attached, you can see that I have it partitioned it so I have a 90gb partition by itself. (I didn't just leave the rest as a /home partition. I wanted to have it as extra space for my personal files or possibly other distros, OSs, ect., in the future.)
    I have Ubuntu installed on the array and everything works as it should. My focus right now is to make the 90gb partition mount on startup with the correct permissions as I was able to do with the IDE HDD. I am able to mount it by clicking on it under the "Places" menu or from the sidebar.

  6. #6
    Join Date
    Jan 2009
    Location
    In front of a computer
    Beans
    409
    Distro
    Xubuntu

    Re: Mounting RAID partition on startup

    Quote Originally Posted by fjgaude View Post
    Code:
    sudo mkdir /home/raid
    
    sudo mount /dev/cciss /home/raid
    It worked!
    For future reference, I used these codes:
    Code:
    sudo mkdir /disk
    
    sudo mount /dev/cciss/c0d0p8 /disk
    In fstab:
    Code:
    /dev/cciss/c0d0p8 /disk ext4 defaults 0 0
    Code:
    sudo chown -R <username>:<username> /disk
    
    sudo chmod -R 777 /disk
    Thank you fjgaude!
    Last edited by linuxuser21; April 12th, 2010 at 08:27 AM.

  7. #7
    Join Date
    Feb 2007
    Location
    Cameron Park CA USA
    Beans
    4,571
    Distro
    Ubuntu Development Release

    Re: Mounting RAID partition on startup

    Great! So much to consider with each setup... few are the same. I had no knowledge of your HP controller, or whatever.

    Anyway, we all learn something new each day.
    Regards, frank, at http://yantrayoga.typepad.com/noname/
    Homebuilt Lian-Li PC-Q33WB, Intel i7-4790K 4.6GHz, SSDs,32G RAM | Dell Laptop 13.3".
    Oracle VBox w/ WinXP/Win10 running Xara Designer, PaintShopPro, and InDesign CS.

Tags for this Thread

Bookmarks

Posting Permissions

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