Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

Need to mount 2 partitions on two separate drives to /home

  • 13-04-2007 02:12PM
    #1
    Closed Accounts Posts: 437 ✭✭


    I have a server with 2 x 320 gig drives with a small 10 gig partition for the OS (mounted at /). I need to partition the rest of the drive (lets say sda3) and the whole of the other drive (lets say sdb1) to both mount to /home i.e to the users there's contiguous 630 gigs of space in /home.

    I'm pretty familiar with linux but have never had any experience with this. Any ideas? :)


Comments

  • Closed Accounts Posts: 17,208 ✭✭✭✭aidan_walsh


    Sounds like a job for an LVM.


  • Registered Users, Registered Users 2, Paid Member Posts: 2,796 ✭✭✭niallb


    Sounds like a job for an LVM.

    Absorlutely. Ya won't know yourself.


  • Closed Accounts Posts: 437 ✭✭Yook


    Thanks for the help so far. But there seems to be a problem, when i try pvcreate I get:

    server:~# pvcreate /dev/sda /dev/sdb
    Device /dev/sda not found (or ignored by filtering).
    Device /dev/sdb not found (or ignored by filtering).

    sda3 and sdb1 are both partitioned to be Linux-LVM.

    Any ideas?


  • Registered Users, Registered Users 2, Paid Member Posts: 2,796 ✭✭✭niallb


    Yook wrote:
    server:~# pvcreate /dev/sda /dev/sdb
    Device /dev/sda not found (or ignored by filtering).
    Device /dev/sdb not found (or ignored by filtering).

    sda3 and sdb1 are both partitioned to be Linux-LVM.

    Any ideas?
    but /dev/sda and /dev/sdb are not.

    You should instead run
    pvcreate /dev/sda3 /dev/sdb1

    NiallB


Advertisement
Advertisement