Server :: Soft RAID (mirror) On Debian With Different HDDs Size?

Apr 18, 2010

I would like to build a NAS from PC (D510MO) running Debian. I have two HDDs (one 3.5 1T and one 2.5 500G).
On 3.5 HDD I have already two partitions 100M+40G dedicated for Win7-64. Now, I want to install Debian (second OS) on this PC and to have some kind of soft RAID or disk mirror of 500G space. I am planning to create a third partition on 3.5 HDD of 500G (identical as 2.5 HDD size) in order to have a mirror 500G space.

Please send my some suggestions on where I have to install Debian; on 500G 2.5HDD or 500G 3.5HDD!Will Debian boot from both HDDs 3.5 or 2.5 after I create the mirror? What Linux soft I have to use for mirroring (mdadm)?

View 3 Replies


ADVERTISEMENT

Server :: How Long Does Hardware Raid Card (raid 1) Take To Mirror 1 TB Drive (500gb Used)

Mar 22, 2011

How long does hardware Raid card (raid 1, 2 drives)take to mirror a 1 TB drive (500gb used)?Is there a general rule of thumb for this?4 hours? 12 hours? 24 hours?

View 1 Replies View Related

CentOS 5 Server :: Soft-Raid Didn't Start After Boot?

Apr 22, 2010

I've a database-server (IBM x3650 M2) with about 3 TB Data on SAN (Hitachi) with lvm top of softraid (RAID1) based on multipath (2 SAN-boxes in different buildings). After booting the server, multipath starts, but no md starts the mirror. The same configuration with SLES 10 works.

cat /proc/mdstat
Personalities : [raid1]
md13 : active raid1 dm-17[1] dm-14[0]

[code]....

View 5 Replies View Related

General :: LVM2 On F10 - Reduce LVM Size And Remove 2 HDDs?

Oct 15, 2009

I have the following HDDs in an LVM2 configuration on an F10 box running Mythtv :-

# pvscan
PV /dev/sda2 VG VolGroup00 lvm2 [297.88 GB / 0 free]
PV /dev/sdd1 VG VolGroup00 lvm2 [931.50 GB / 0 free]
PV /dev/sdb1 VG VolGroup00 lvm2 [298.06 GB / 0 free]
PV /dev/sdc1 VG VolGroup00 lvm2 [931.50 GB / 0 free]
Total: 4 [2.40 TB] / in use: 4 [2.40 TB] / in no VG: 0 [0 ]

The system never uses more than about 250GB of HDD at any one time, so I would like to remove /dev/sdd1 and /dev/sdc1 from the LV and then from the machine and leave /dev/sda and /dev/sdb alone.

Does anyone know that if I use the command "system-config-lvm" to reduce the total LVM size to say 580GB, whether all data is preserved (I don't have any way at this stage to backup up 250GB of data, unless I buy more HDDs and that is the whole point of this exercise anyway - remove the two terrabyte drives to be used as backup disks).

Once I am happy that the data is safe, I will use "pvmove" and "vgreduce" to remove both terrabyte drives.

View 8 Replies View Related

Programming :: Soft Limit For Core File Size?

Jun 22, 2011

Using getrlimit I am setting the core file size to be RLIM_INFINITY. But still the core file is not being generated,although in /var/log/messages it says a core is being generated

View 3 Replies View Related

Ubuntu Servers :: Alternatives To Soft And Hardware Raid 1

Sep 17, 2010

I am trying to make a NAS solution for our club, which should contain different data for download. I have been looking at freeNAS, openfiler and other solutions but they don't offer quite what i want.I want data security, but trying to avoid software and hardware raid.Windows Home Server has a function, where it copies the data from the 'main' storage disk and over to the 'backup' data storage drive automatically.

View 1 Replies View Related

General :: Backup Daemons Or Mdadm RAID Across Internal And External HDDs?

Aug 15, 2010

I'm building a new desktop computer, on which I plan to install Debian Squeeze. I'll have a 1 TB SATA hard drive in the system. I'm also considering using two 500 GB external USB drives, but I'm debating about how I want to use them. Running them all separately for 2 TB of space could be a nightmare, with three potential points of failure, so I was thinking of using the two external drives as a backup system instead.

I'm considering linking the two external drives in a RAID 0 array, then linking that array and the internal drive in a RAID 1 array. I would use mdadm software RAID for all of this so I could use individual partitions in the arrays, avoid hardware dependency, and have greater software control. So now is this feasible to do (having a partial RAID 0+1 setup)? Moreover, what kind of performance could I expect from using potentially slow external drives (one of which I know has a very long spin-up time after idle periods) in a mirroring setup with the internal drive?Would I be far better off using a filesystem backup daemon instead?

EDIT:After some more research and brainstorming, I've decided I might just end up using rsync+cron, lsyncd, or DRBD (assuming it can easily make backups locally). I'd probably have to link up the external drives in RAID 0 (or use some filesystem link trickery). But I suppose such a setup would offer greater control, flexibility in disk capacities (the full system isn't so strictly limited to the capacity of the smallest member of the array), and granularity than RAID 0+1 would.I'm still open to thoughts on the mdadm RAID 0+1 solution, but does anyone have any advice on choosing backup software? For some background on my needs, I'll be using this computer as both an everyday desktop and a personal LAMP server (MySQL database files would be included in the backups).

View 6 Replies View Related

Server :: Increase The Size In Software RAID-1 Configuration

Oct 26, 2010

I have created a filesystem /data using software RAID-1 concept using two disks.

/dev/sdb - 50 GB
/dev/sdc - 50 GB

now i have to increase the /data to 100GB by adding two more disk.

/dev/sdd - 50GB
/dev/sde - 50GB

is this possible, if yes

how exactly i can increase the existing RAID-1 array from 50GB to 100GB.

View 1 Replies View Related

Server :: Reducing The Size Of A Device In An Existing RAID Set?

Sep 9, 2009

Alternate Heading: Unable to use opensuse partitioner to fully format a Seagate 1Tb drive OK. Swapped over a motherboard to increase the number of slots available for hard drives so that I could expand my raid array (4 X 1Tb drives). Discovered I had no thermal paste so all delayed for 24 hours while I bought some, miscalculated on rebuild and had to reinstall OpenSuse but in the end system is now up and running. Unfortunately when I formatted my new 1Tb drive (Seagate) it formats to 931.50 Gb while the other 4 drives formatted to 931.51 Gb (they are WD). I'm now in the position that when I try to add this new drive I get :

mdadm: /dev/sdc1 not large enough to join array

Is there any way I can resize the existing devices down to 931.50 Gb so that I can add in the new drive without having to restore the array?

View 4 Replies View Related

Debian Configuration :: Raid 5 With Mdadm Not Showing Complete Size?

Mar 13, 2010

I just expanded my raid 5 array from 3*2TB to 4*2TB and mdadm made the grow successfully and shows an md0 dev with the size of 6TB usable data. Now my problem is that Debian (Lenny) dosn´t show the right amount. See below

######### MDADM DETAILS OF ARRAY ##########
> mdadm --detail /dev/md0
/dev/md0:
Version : 0.90
Creation Time : Mon Dec 14 22:30:46 2009
Raid Level : raid5

[Code].....

View 3 Replies View Related

Ubuntu :: Mirror A Partition Without RAID ?

Feb 11, 2010

I have two hard drives inside an Ubuntu 9.10 machine, each with a data partition on. What I want to do is as I save files to one data partition partition (or delete them) I want the files copying/deleted automatically on the the other data partition. I do not want to start using RAID or end-of-day incremental backups.

View 5 Replies View Related

CentOS 5 Hardware :: RAID Mirror Not Loading?

Nov 28, 2009

I recently setup a software RAID1 with two hard drives for testing. I manually unplugged one hard drive to test redundancy and it was fine. I then did the same to the second and plugged back in the first and it was fine. But when I plugged both back in it is only loading one of the mirrors instead of both. I am guessing when the mirror (failed), at least as far as the system knew it removed it from the load sequence to prevent data corruption... how do I go about re-enabling it?.

cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sdb1[1]

[code]....

View 1 Replies View Related

Debian :: Creating Mirror Back-up Hot Swap Server?

Mar 20, 2011

I am currently running Debian on a system with 3 scsi hard drives with Raid and have an identical back up server. I want to schedule a daily "mirror" copy of the server operating system and data so that if the primary server drops I can move the network plug to the next server and be back in business. Can someone let me know what would be the best solutions for this? I am new to linux so this may be an obvious question so if it is I applogize but I have been searching through the forums and have not found an adeqate solution.

View 1 Replies View Related

Server :: Proper Way To Sync Debian Mirror But Preserve Sarge?

Aug 21, 2010

I have been tooling around with different way of getting our local Debian network mirror back up and running with different various scripts. I have tried apt-mirror which was a breeze to setup and run, anonftpsync again super easy to get rolling.

My question is there a way to make sure our Sarge distro doesn't get deleted from the mirror? A filtering command for rsync possibly?

I started to go over the script for the ftpsync (debian recommended!) and to be honest it seems way over my head due to lack of documentation that I have been able to find.

View 2 Replies View Related

CentOS 5 Hardware :: Error Installing CentOS 5.2 On ICH7R With 4 SATA HDDs RAID 5?

Feb 15, 2009

The installer can't see my raid controller (I assume) as I'm getting the following error:"Error opening /dev/mapper/isw_jbhgjgjj_Vol0: No such device or address"It just sees them as 4 individual drives: sda, sdb, sdc and sdd.Please note that I have set up the RAID 5 in the controller bios interface and the image name is Vol0, which it seems that it tries to load but for some particular reason it can't.I have also tried different bios settings and nothing worked.

View 3 Replies View Related

Ubuntu Servers :: RAID Card Reports All Four HDDs To Ubuntu As Single Drives Setup?

Nov 3, 2010

This is a strange problem. I have Ubuntu server installed on a proper server hardware. My RAID card reports all four HDDs to ubuntu as single drives, which is how i set it up because Ubuntu does not recognize the raid card on the server. Now you might say if thats the case, why dont i remove the raid card and have the BIOS report to ubuntu as four single drives then i can perhaps setup software raid. Well my board has only one sata port.Ubuntu is all setup. on the first drive and i have set the other three up using software RAID.

System works great only problem is it freezes sometimes. Not everytime, just on the odd occassion I use the same Hardware without the raid card and of course just one HDD and it great. No freezes.That leads me to believe its the RAID card.My question is why will it run great for days and sometimes just freeze on me? Probably silly but if theres an issue with the RAID card, it should not work at all, should it?

View 2 Replies View Related

General :: Setting Up RAID Or Mirror Drives On The Hardware Level?

Sep 16, 2010

How can I mirror drives on the hardware level? I have a Sun X2270 server with 4 1 terabyte hard drives and need to mirror two drives.

View 1 Replies View Related

Ubuntu :: Broke A EXT4 Software Raid 0 Mirror. Need To Recover Files?

May 31, 2010

I have a MSI Board that had this hard drive configuration.

200GB x Single EXT4 Ubuntu
320GB x Raid Mirror NTFS
320GB x Raid Mirror NTFS

[code]....

View 6 Replies View Related

Debian :: Using 2 HDDs For User Uploads?

Nov 22, 2008

I have a site that users upload files on. Its on a dedicated server with 2 HDDs and the first HDD is 97% full, is it possible to use the other HDD for the files users upload? if so how?

View 1 Replies View Related

Debian :: Ubuntu Local Mirror Setup For FAI Server Setup?

Apr 24, 2011

I want to setup a FAI server for which I was looking for the best method of mirroring the Debian Lenny. I want to setup a local mirror with the best method available for mirroring. If it is ftpsync, please provide me some best ways of doing it. I tried ftpsync mirroring but that was not getting properly working due to insufficient I want this mirror to be accessible in my FAI setup so that I can start the installation on multiple machines and start the updates and package installation to be done from the same local mirror.

View 1 Replies View Related

Debian Installation :: Soft Lockup / CPU Stuck

Aug 18, 2015

i'm trying to Debian 8.1.0 on my notebook Acer Travelmate 2200. Currently i have very outdated version of Linux Mint. It works fine but I prefer keeping system updated. Only way to get updated system now is install new one, and here i have a problem. After CD/ISO booting, installation looking for a mountd devices, etc. then i got statement that CPU stuck for x sec. The same statement appears every 20sec. I was trying it on other linux distr's they give the same error. I didn't overclocked my notebook, his temp is ok. I'm working on it few hours each day, it didn't overheat. Someone told me thats bug of 2.6.x kernel but I'm trying install new system with 3.16.x.

View 4 Replies View Related

Debian Configuration :: 8.2 - Getting External USB2/3 HDDs To Automount / Autounmount

Dec 10, 2015

I'm running Debian 8.2 and trying to set up so I can plug in a couple of external hard drives that will be used to sync data between systems using rsync.

I've got the rsync bit working how I want, thats not a issue. But what I can't seem to get to work properly is when I plug the devices in, they don't mount automatically.

I've tried various methods to no avail so far, systemd.automount in fstab doesn't seem to want to work, for some reason it gives a I/O error. I've tried setting up udev rules and they don't work either, so I'm a bit of a loss now.

Not sure what info to provide that would be relevant at this time, but can add logs as required easy enough.

This machine is headless, so command line only suggestions would be best. I can access X via the network if I have to, but I'd rather do it by cli for ease of access.

My fstab file

Code: Select all# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda1 during installation
UUID=9b4e9dae-ea53-439a-a7fe-87c371c03803 /        xfs     defaults        0       1
# /home was on /dev/sda9 during installation

[Code] ....

View 3 Replies View Related

General :: 2 Different Size H/d With RAID?

Jun 6, 2010

I'm thinking of adding a 40GB H/D to a 80GB H/D using RAID.I don't know if the size difference will affect performance.Is it worth the time? Would it run like a 120GB H/D?(or close to it).

View 3 Replies View Related

Debian :: Use Udev Rules To Prevent HDDs To Change Device Instead Of Using UUID In /etc/fstab?

Dec 15, 2010

UUIDs make fstab hard to read, so.. Is it possible to use udev rules to prevent HDs to change device, instead of using UUID in /etc/fstab?

View 2 Replies View Related

Debian Hardware :: Testing Is Now Soft Blocking WiFi (ath5k)

Aug 20, 2014

Regularly updated debian testing on a netbook. I normally use wired ethernet, but I am pretty sure that I had wifi (wlan0) working normally a few days ago.

Today, I find that wlan0 has a soft block:

# rfkill list
0: phy0: Wireless LAN
Soft blocked: yes
Hard blocked: no

It seems that the kernel(?) is sending a udev event to set this:

# rfkill event
1408563052.478251: idx 0 type 1 op 0 soft 1 hard 0

# rfkill unblock wlan
works *unless* the wifi button on this laptop is used. Then I get an apparently permanent hard block.
rfkill cannot unblock, and repeated button actions do not clear.

Adding the no_hw_rfkill_switch to the ath7K driver ensures that the wifi button is disabled.

All this is new: I have been using wifi on this netbook for years without problems, so something has changed. I moved to systemd (sigh) maybe a month ago, so perhaps the root problem is a systemd udev bug.

The real problem is knowing where to look or bug report. Is it a recent change in the ath5k driver or kernel? IIRC I checked the driver and there were no recent commits. Likewise rfkill hasn't changed recently. More likely to be something around systemd udev, perhaps, given the mayhem systemd has caused on another machine here. Or perhaps somewhere in the wireless subsystem.

lspci -k includes:
03:00.0 Ethernet controller: Qualcomm Atheros AR242x / AR542x Wireless Network Adapter (PCI-Express) (rev 01)
Subsystem: Foxconn International, Inc. Device e008
Kernel driver in use: ath5k

View 0 Replies View Related

Server :: Any Command Not Working On Rhel3 After Creating Soft Link Of Libc.so.6?

Oct 29, 2010

i have server with rhel3 ES. in folder "/lib64/tls" there is one file named libc.so.6 which is softlink of libc-2.3.2.so. i just copied libc-2.3.4.so from rhel4 AS server to rhel3 server in the same location and override the softlink libc.so.6 as a softlink of libc-2.3.4.so. now no any command is working in this server i.e.(cp,vi,rm mv ls etc.). it is also not opening any terminal and nothing command is working.

View 1 Replies View Related

Debian :: Soft Lockup On Fresh 8.3 Install On Acer Aspire S7-391 Laptop

Feb 11, 2016

Acer Aspire S7-391 laptop, 64 bit install
Previous was Debian 7.6, no issues.

Not doing anything special, just browsing the web and I get a few of these soft lockups. Cannot reboot, have to power it off and on when it happens. USB stops working also.

Code: Select all[ 7002.597774] BUG: soft lockup - CPU#1 stuck for 22s! [khubd:93]
[ 7002.597777] Modules linked in: tun hid_generic hidp rfcomm bnep pci_stub vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) cfg80211 cpufreq_powersave cpufreq_conservative cpufreq_stats cpufreq_userspace 8812au(O) ecb uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common videodev joydev media x86_pkg_temp_thermal intel_powerclamp intel_rapl acer_wmi sparse_keymap coretemp iTCO_wdt

[Code] ....

lspci output:
Code: Select all00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)

[Code] ....

View 11 Replies View Related

Ubuntu Servers :: RAID 5 Failure While Increasing Size?

Sep 6, 2010

Based on the reading I've done over the past 48 hours I think I'm in serious trouble here with my RAID 5 array. I got another 1 TB drive and added to my other 3 to increase my space to 3 TB...no problem.

While the array was resyncing...it got to about 40%, I had a power failure. So I'm pretty sure it failed while it was growing the array...not the partition. Next time I booted mdadm didn't even detect the array. I fiddled around trying to get mdadm to recognize my array, but no luck.

I finally got desperate enough to just create the array again...I knew the settings of my and had seen some people have success with this method. When creating it, it asked me if I was sure because the disks appeared to belong to an array already, but I said yes. The problem is when I created it, it created a clean array and this is what I'm left with.

Code:
/dev/md0:
Version : 00.90
Creation Time : Sun Sep 5 20:01:08 2010
Raid Level : raid5
Array Size : 2930279808 (2794.53 GiB 3000.61 GB)

[Code]....

I tried looking for backup superblock locations using e2fsck and every other tool I could find, but nothing worked. I tried testdisk which says it found my partition on /dev/md0, so I let it create the partition. Now I have a /dev/md0p1, which won't let me mount it either. What's interesting is gparted reports /dev/md0p1 as the old partition size (1.82 TB)...the data has to still be there, right?

View 3 Replies View Related

Server :: Make Two Storage Server Mirror Data In Real Time?

Jan 15, 2011

I have 2 servers each one with a RAID and I want them mirror they data so if one of them goes down the other one take the job with out disruption. I've heard of multipath by I want to know it in detail or learn of more options.

View 2 Replies View Related

CentOS 5 :: Easiest Way To Mirror Existing Server Setup On A New Server?

Jan 13, 2011

We have two CentOS 5 servers in production (web and database). We are setting up a single staging server that will mirror the configurations of these servers as closely as possible. What is the easiest way to ensure the exact same software and configs as the production servers are setup on the new staging server. Our contracted data center provider has already informed us that they do not perform images and NO we do not have physical access to the machines. It is undetermined whether we will be virtualizing the staging server into two virtual servers yet, so for the purposes of this post lets assume we are not. I'm seeking a faster/more precise method than doing this by eye and hand.

Some information on our web server code...

View 4 Replies View Related







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