Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

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

  • 13-04-2007 03: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 Posts: 2,780 ✭✭✭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 Posts: 2,780 ✭✭✭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