General :: RAID At Root Partition In Debian ?

Feb 11, 2010

The RAID level 1 interested me because of its redundancy in both drives. And I successfully made it in a couple of partitions. But, I always did it after Linux installation. Then, I create both partitions, use 'mdadm' to create raidtab and RAID device (md0, for example) and then I format the RAID device with 'mkfs' and mount it.

Until there, it's all OK.

But my problem is to mirror ALL the hard disk, inclusive root partition. To do that, I guess I need no Linux installation, then create the RAID (md0, raidtab, etc) and after that install Linux in RAID device created.

But I'm new in Linux world and I have no idea how to do that.

I use Debian Lenny, so I need a solution that uses only the first DVD of this distribution.

View 10 Replies


ADVERTISEMENT

CentOS 5 :: Root Partition Is Not Properly In RAID 1 - Error

Dec 17, 2010

I have just configure RAID 1 on my IBM X3400 Server in CENTOS 5 ..Partition information is md0 boot , md1 swap and md2 is root ....but after resyn when i run cat /proc/mdstat I realize that md0 and md1 is ok and present with [UU] status. BUT the md2 is showing on one [U_].. that means my root partition is not properly in RAID 1.. how can i make it active in both drive. Or i need to reinstall complete system again. Screen shot attached [URL]

View 2 Replies View Related

OpenSUSE Install :: Raid Root Partition Not Mounting After Updates

Jan 27, 2010

I'm having some problems with a hosted openSUSE 11.2 server. It was running fine until I did a "zypper up" to apply patches. This included a kernel update.

On reboot the root partition does not mount the / partition giving the following error:

Unrecognized mount option "defaults.noatime", or missing value mount: wrong fs type, bad option, bad superblock on /dev/md2.

Through an Ubuntu rescue disk (this is what Hetzner provides) the disk can be mounted without problems.

( I installed a fresh openSUSE 11.2 with a similar configuration and got the same results after the update)

The server is a hosted installation from Hetzner in Germany with just the basics for LAMP setup.

The disk setup is as follows using software raid1:
swap /dev/md0 (/dev/sda1 /dev/sdb1)
/boot /dev/md1 (/dev/sda2 /dev/sdb2)
/ /dev/md2 (/dev/sda3 /dev/sdb3)

View 3 Replies View Related

Debian :: Install Debian Root Into Software Raid Partitions Sda2 And Sdb1?

Mar 2, 2011

I got two harddisks, sda and sdb. Is it possible to install Debian root into software raid partitions sda2 and sdb1 leaving all other partitions 'normal' (not-raid)? do partitions sda2 and sdb1 need to be exact same size and position?

View 4 Replies View Related

Debian Installation :: 8.0 - Need To Mount Raid Partition

Dec 21, 2015

Have a new debian install on a asus h170m-plus (was going to use ubuntu but didnt support the hardware/software combo i needed)

Install is fine. but during install it didnt see my 1tb raid1 drive..

after reboot, debain boots great, and i can mount the raid drive in the file manager.

I can see it and in mtab it shows up :

"/dev/md126 /media/user/50666249-947c-4e8f-8f56-556b713a6b6a ext4 rw,nosuid,nodev,relatime,data=ordered 0 0"

How can I permanently add this mount point so it is found at boot up at /data...

View 5 Replies View Related

Debian :: No Write Access To RAID Partition Over Samba?

Aug 9, 2011

I have recently installed Debian on my NAS server. I have also configured Samba for sharing the home directory of a nas user i.e. /home/nas To this directory I have read/write from a windows machine using the nas user credentials. When I mount my RAID partition /dev/md0p1 to the /home/nas directory, I then realize that all content in this directory (files and subfolders) is only owned by the root user. When trying to access from the windows machine the /home/nas directory, I do not have any write access, only read. I have tried both the nas and the root user credentials.

I have also attempted the change the ownership of the mounted RAID partition to the nas user with the -R recursive option, but I get for the internal files/subfolders an error "operation not supported".

How can I overcome this problem? - Is there something not done properly in the /dev/md0 array definition (i.e. ARRAY /dev/md0 level=raid1 num-devices=2 UUID=bddf8b69:c97967b5:cb104784:7fef7cc3 )?- Is there something not done properly in the /dev/md0p1 mounting (i.e. mount /dev/md0p1 /home/nas)?- Should I do any extra configuration before the mounting etc? I would really appreciate any kind of help I could get.

Some background info

b) After OS boot, when I do a:
# cat /proc/mdstat,
I get:
Personalities : [raid1]
md0 : active (auto-read-only) raid1 sda1[0] sdb1[1]
4200896 blocks
unused devices: <none>

[Code]...

View 2 Replies View Related

Debian Configuration :: Use A Whole Disk Or A Partition In RAID Array?

Aug 31, 2010

concerning Linux, mdadm, and creating RAID Array's in Debian. I've done a lot of reading and research on RAID both on this board and elsewhere (The Linux Documentation Project's Software-RAID HOWTO is especially good), but I've run across something that no one seems to explain, and I'm not sure why. I'm instructed to create partitions on the drives I wish to add to my array. These partitions inevitably take up the whole disk, and are always have their system IDs set to "Linux raid autodetect". What I don't understand is why, after creating these partitions, some guides then go on to create an array (say a RAID5 one) with just the disks themselves as members, while others go on to create the RAID5 array with the previously created partitions as members. E.g.,

mdadm --create --verbose /dev/md0 --level=5 --raid-devices=4 /dev/sda /dev/sdb /dev/sdc /dev/sdd
vs.
mdadm --create --verbose /dev/md0 --level=5 --raid-devices=4 /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1

What's the advantage of using one over the other?

View 3 Replies View Related

Debian :: SATA Raid, /home Partition Mounting Error?

Nov 9, 2010

I've installed debian squeezy recently and for some reason I have problems with mounting /home partition during startup.

There's an error:Mounting local filesystems...mount: special device /dev/mapper/isw_bbfedcffgi_Volume0p6 does not exist. failed

I've tried using fsck - no result the file system is healthy, I've tried formatting it once again (fresh copy, no user data) and it's not working. What is more mounting the partition manually goes well - I can read the data and write to it. All other partitions are ok.

I have no idea what's going on and why mounting /home fails. I've written this post on Polish debian users forum, but no response - only to give more info, so I'll put it here also:

ls -al /dev/mapper

crw------- 1 root root 10, 59 Nov 9 19:34 control
lrwxrwxrwx 1 root root 7 Nov 9 19:34 isw_bbfedcffgi_Volume0 -> ../dm-0
lrwxrwxrwx 1 root root 7 Nov 9 19:34 isw_bbfedcffgi_Volume01 -> ../dm-2
lrwxrwxrwx 1 root root 7 Nov 9 19:34 isw_bbfedcffgi_Volume05 -> ../dm-3
lrwxrwxrwx 1 root root 7 Nov 9 19:34 isw_bbfedcffgi_Volume06 -> ../dm-4
code....

View 2 Replies View Related

Debian :: Reverting RAID 1 - Mount Partition As Standalone Encrypted Disk

Feb 11, 2011

I have 2 identical disks originally configured as a pair for a server. Each of the disks has 2 partitions dev/sdb1,dev/sdb2. The sdb1 partitions I had configured as a raid1 mirror. The sdb2 partitions were non-raid and used as extra misc. Space. Further, the raid setup is also encrypted using dm-crypt luks. Now I want to redeploy each of the disks for new purposes. One of the disks i want to deploy exactly as before (keeping the partitions and content), however without being part of a raid array.

I've successfully deployed this disk into a new system and I am mounting the dev/sdb1 partition as dev/md0 because the disk is set to autodetect raid. Actually I am using cryptsetup and mounting with mapper. Can I get rid of the setting for auto detect on this partition without losing the data, or breaking the encryption? I just want to mount the partition as a standalone encrypted disk. Is it as simple as doing crypt setup luksOpen /dev/sdb1 then mounting it with mapper? Or do I need to change the partition in some way. Or do I simply continue to operate it as a 'broken' raid array?

View 2 Replies View Related

General :: Defined Root Partition Not Created A / Boot/efi Partition?

Aug 31, 2010

when I tried to install Fedora on my pc, I got this error message " Defined Root partition not created a / boot/efi partition. I am trying to install it on a seperate hd. My main one has windows xp pro, but I do not want to interfer with that at all?.

View 14 Replies View Related

General :: How To Partition Server With RAID 1/10

Aug 26, 2009

I am trying to partition my server before installing CentOS and cPanel.I have hardware RAID 1/10 On RAID 1 I would have

/
/boot

On RAID 10 I would have

/tmp
/usr
/var
/var/log
2 GB swap
/home

Is it correct partionining setup?What should I have on RAID 10 ?

View 1 Replies View Related

Debian :: Root Partition Full But It Is Not?

May 18, 2015

Got problems with apt. So I discovered if I remove some stuff from root partition apt works normally again.

So I tested to copy 1GB file to root, but in the middle says disk is full, but there should be 1.8GB free if I type df -h.

Code:
Select alldf -h
Filesystem      Size  Used Avail Use% Mounted on
rootfs          4.0G  2.2G  1.8G  56% /
tmpfs            10M  4.0K   10M   1% /dev
/dev/md0        4.0G  2.2G  1.8G  56% /
tmpfs           492M     0  492M   0% /dev/shm

[Code] ...

View 12 Replies View Related

Debian :: Root Partition Filling Up

Dec 22, 2015

I'm booting to Kali 2.0 live from USB and wanted to add persistence, but I can't get OpenVAS setup. The setup script runs and eventually fails due to no more disk space. Here's my df -h output:

Here's gparted:

When the setup runs it fills up root (/) which is only 872mb. This is a 16gb USB so I'm wondering if there's a way to allocate some of the 11gb of unallocated space to root? I couldn't tell how to do this with gparted, would I need to build a custom Kali iso or something with different partitioning?

View 5 Replies View Related

General :: Removing The RAID From An EXT2 Partition?

Aug 11, 2009

This might be a longshot but i used to use the 4 bay NAS here Which formated the HDD JBOD array to EXT2 , Anyway i want to move to an 8 bay DAS now but i cant find an application to convert the partitions .

Partition magic says the partitions are unformatted and the partition id is set to linux raid auto . Is there any way to convert this partition to vanilla EXT2 so i can use partition magic on it ? Its a 4TB array so copying isnt possible.

View 1 Replies View Related

Debian :: Is It Safe To Grow Root Partition?

Jan 26, 2010

i want to ask is it safe to ad more space to my root partition with gparted ?I ask friends and they all told me if i change the root partition is possible to have problems to start my Debian.

View 5 Replies View Related

Debian :: Mounting Other Partition And Editing As Root?

Jan 22, 2011

I have Linux Mint (LMDE) on another partition and I guess I need to do some 'fixing' so I need to mount the partition. I can't, though, not by just clicking the partition (obviously?). I assume this is because I need root access to mount it.

how I can do this?:

1) CLI - mount via CLI by mounting at some point - for e.g., mine is /dev/sda3 so mount as ?

2) Use an 'editor' or file manager - such as Dolphin - how would I do this?

3) Use a Live CD/DVD - I think this way is unnecessary but it's a way, right?

Anything I missed? I guess gparted could mount it?

Which method would you use?

I think one could ssh into it but I'm not able to do that yet.

I need to exit the xorg.conf file which is recently really messed up.

View 3 Replies View Related

Debian :: Jessie-grub On Root Partition

Feb 7, 2016

i use a 3rd party boot mgr.i installed jessie over etch on my old computer & only choice i saw for grub was sda & sdb where i wanted to install on sdb9.i tried installing it from my wheezy partition & it did but i ended up with 2 boots to wheezy.so i went back to etch.

my question is how to get grub on sdb9 like it was on etch.is there a trick or did i miss a prompt? on another note, that bug where the format hangs if you try & install over an old system is a little irritating. can't believe it hasn't been fixed.

View 4 Replies View Related

Debian :: Root Partition Full Already Resize?

May 18, 2010

I recently installed Lenny and used the "Guided - Use Entire Disk" option.I made separate partitions for root, /etc, /var, /home, /usr and swap.I trusted that the auto partitioner would choose sensible sizes but possibly that was a bad move, root is only 340Mb and is full.

View 8 Replies View Related

Debian Configuration :: Resizing Partitions - Put To The Root Partition

Jan 23, 2016

Is there a way where I can take like 50GB from my home folder (I have 375 avail., but using only 22GB) and put it to the root partition? Twice now my system has almost ran out of space on root, so luckly I was able to clear out old stuff so I don't have login issues after finding the hardway the first round lol. I just want to make sure I can login with out being forced back out because root don't have space to let me login.

View 11 Replies View Related

Debian Configuration :: Mount Options Of Root Partition

Apr 28, 2016

I made a mistake in Gnome Disk utility tool. Instead of changing the options for a USB key, I changed the options of the root partition.

In Initial state, automatic options were desactivated. I just activated them. And after desactivacting them, I realized my mistake and switched back to "non automatic options".

By doing this, I suppose that defaults values were used since now, the system starts in command line mode and no more in graphic interface mode.

When I try the "startx" command, I get a "read-only" error.

With the command "sudo mount -o rw,remount /" the graphic interface is started.

Below is the configuration of the partition under the gnome disk utility tool :

"Mount at startup" is checked
"Show in user inteface" and "Require additional authorization to mount" are unchecked

Mount options : nosuid,nodev,nofail,x-gvfs-show
Mount point : /mnt/eb11d4d6-75db-XXXx-XXXx
Identify as : /dev/disk/by-uuid/eb11d4d6-75db-XXXx-XXXx
Filesystem type : auto

I do not want to change anything that could leat to a critical error. So what do you think I should do ?

View 1 Replies View Related

Debian Configuration :: Merge The Root And Home Partition?

Jan 18, 2011

I have the partition like below. Now i want merge the /home partition into /dev/sda1 partition .

[Code]...

View 4 Replies View Related

General :: Mount A Single RAID 1 Disk / Partition As Ext3?

Jul 7, 2011

I need to copy data from a single HD, which used to be part of a Linux RAID 1. I've googled around, but can't find any clue how to mount partitions from this single HD.

Background: The HD comes from a linux based NAS box Synology DS207+. The NAS uses ext3 as filesystem. Both NAS disks are fine, but the other NAS hardware is dead and not worth repairing or replacing.

View 1 Replies View Related

Debian :: Partition Layout - Primary Or Extended For Root Parition?

Mar 26, 2010

For a fresh installation using manual partitioning, one single disk (IDE).

If I selected:

For the root partition, I would like to use ext4, 10GB, but by default, the partition type 'extended' is suggested. Would there be any difference (advantages, inconveniences) if I selected the primary partition instead?

View 6 Replies View Related

Debian Configuration :: Copying / Moving Root Filesystem To Another Partition?

Mar 4, 2010

My root filesystems flooded so I'm trying to move it to another (bigger) partition but I'm not sure of the best method. I just tried to use "dd if=/dev/sda1 of=/dev/sda6" to copy it but all that did was give me a brand new partition with no freespace available presumably because the filesystem is smaller than the partition. Is it possible to make the filesystem bigger?

View 8 Replies View Related

Debian Installation :: Keep Home And Var Partitions Intact And Just Reinstall Everything In Root (/) Partition

Apr 4, 2010

Ok. I have a media server running debian amd64. when I installed it I made separate partitions for root (/) home (/home) var (/var) and swap.

I'm adding some new hardware (mobo and ram) and want to reinstall debian. I would like to keep my home and var partitions intact and just reinstall everything in root (/) partition.

I'm unsure of how to do this during the installation. Do i need to format? how do I tell it to use the /var and /home partitions?

View 4 Replies View Related

General :: Can't Log In / Root Partition Full

Jun 15, 2011

I am having trouble logging into my ubuntu 11.04 desktop. When I type my username and password to login my screen goes blue, as if it is going to next show my desktop wallpaper, but then it loops back to the login screen. I had no idea why and so I went to ALT-F1 and typed in "df" and it turns out that my root partition is full. This is strange since I set aside 40GB for it and I didn't install anything or that many programs that would fill it up. Anyhow, is this fixable by booting to a live cd and using gparted to make root bigger or is there a better way to fix this?

View 6 Replies View Related

General :: Upgrade From 9.10 To 10.04 On A Netbook With A 4GB Root Partition?

May 13, 2010

I have an Asus EeePC 901, running Ubuntu 9.10. I'd like to upgrade it to 10.04. I don't want to reinstall, since I have a bunch of scripts and programs all set up.However, when I attempt to upgrade using sudo do-release-upgrade, I get an error asking me to free up another ~600MB on /.

My / is mounted on sda0, which is a 4GB SSD. I do not have 600MB worth of deletable stuff on /.I've emptied my trash, and done apt-get autoremove and apt-get clean.I do have plenty of space in /home, mounted on sda1 (a 16GB SSD).Is there some way I can tell apt-get to use a different download/temp directory?

View 3 Replies View Related

General :: Find/search Root Partition ONLY?

Jun 11, 2010

Say I need to do: find / -name somefile.txt

And say root partition / is mounted on /dev/sda5; however, let's say I also have 250GB partitions (/dev/sda6, /dev/sda7) mounted in /media - AND another location that I cannot currently remember. Say, also, that I know the file I'm looking for is on /dev/sda5.

Obviously, the above command will also descend in /media and that other directory which represent the big partitions, wasting time in looking for the file in the wrong place.

Is there a way to instruct find (or other command) to search only / on /dev/sda5, and NOT to descend to directories if they are on different partitions ?

View 1 Replies View Related

General :: Cannot Create Root Partition On Windows 7?

Nov 4, 2009

New Dell Inspiron 1545 Laptop with Windows 7 Home PremiumTrying to load Fedora 10 in available space. Had to go to custom layout none of the other partition selections seem to work - kept getting error messages. Custom layout would let us format the / and /boot partitions we created.

View 5 Replies View Related

General :: Fix Grub After Moving Root Partition?

May 15, 2010

Because I am using one of the new WD disks I am trying to aling my root partition with the real sectors, as described here:[URL]31So I copied all files to a temp location, deleted my partition (/dev/sda3), recreated it a few cylinders later (same name) and copied the files to the newly created partition. But now when I try to boot, I get my old grub menu but after selecting my kernel version it hangs

View 15 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved