Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi
I am sort of newbie to linux, using hit & trial method to learn something new
Anyways I have just aquired dual drive (250GB each) Pre-Configured dedicated server which was installed using the install link provided in panel.
I have installed webmin/virtualmin to easyfy things
I want to use the 2 drives for RAID1
Below is the output of few commands I know
Quote:
[root@server ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg-root 225G 25G 189G 12% /
tmpfs 1.9G 0 1.9G 0% /dev/shm
/dev/sda1 243M 68M 162M 30% /boot
/dev/mapper/vg-tmp 976M 4.1M 921M 1% /tmp
[root@server ~]# mount
/dev/mapper/vg-root on / type ext4 (rw,noatime,grpquota,discard,usrquota)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sda1 on /boot type ext2 (rw)
/dev/mapper/vg-tmp on /tmp type ext4 (rw,noatime,discard)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
I might be not reading what you have but if you have lvm you could move stuff around maybe and add the second drive to the array. Pretty sure I recall that from lvm stuff read long ago.
@Keruskerfuerst
Actually this server is pre-configured and is installed by clicking the link
@jefro
I think it is LVM and there is one virtual group in it named 'vg' which is 232.81GB in size. But I don't know how to move stuff, should I have to create another virtual group oe what else.
So is there a /dev/sdb? I'd check that. If there is then both disks are being presented to the OS.
madam would probably be the facility that you are after but it is definitely easier to set-up during installation, rather than post installation. Alternative if the physical box supports it, you could set-up the RAID1 on a hardware or embedded RAID. My personal preferences tends to be hardware -> software -> embedded. I'd only use embedded as a last resort, since they tend to be flaky from experience.
So is there a /dev/sdb? I'd check that. If there is then both disks are being presented to the OS.
madam would probably be the facility that you are after but it is definitely easier to set-up during installation, rather than post installation. Alternative if the physical box supports it, you could set-up the RAID1 on a hardware or embedded RAID. My personal preferences tends to be hardware -> software -> embedded. I'd only use embedded as a last resort, since they tend to be flaky from experience.
Well there are 2 Drives there
/dev/sdb 239GB
/dev/sda 243MB /root
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.