* Doubt
@ 2009-11-05 7:26 Light King
2009-11-05 7:38 ` Doubt Iustin Pop
` (3 more replies)
0 siblings, 4 replies; 14+ messages in thread
From: Light King @ 2009-11-05 7:26 UTC (permalink / raw)
To: linux-raid
i have four cf card and i have one pci based cf card
contoller(addonics card with pata_sil6800 driver).when i am connecting
this four cf card to addonics card(which has four slots for cf cards)
and inserting this total hardware package to pci slot of pc in linux
os it is showing four different block devices to me.So using mdadm
2.6.3 software raid i am creating a raid device of level 0 . If one cf
card from this hardware package getting failed the raid-device is
becoming inactive .If i am trying to reactive the raid device using
mdamd -R command it is giving a error of "memory cannot be allocated
for the raid device " .The same thing i am trying with raid10 (our
hardware only supports raid level 0 ,1,10) and if one cf card got
failed we are abel to reactive the raid device.But the issue we are
facing in raid10 is it is taking 50%(2-CF card out of 4) of total
memory space as mirroring which is a loss for us .
So we dont want any kind of data recovery in our raid device (like
raid0) but we want if one cf card failed also, the raid device should
run or should reactive without any error(like raid10) but we should
abel to use the total disk space (like raid0).
or
any idea to increase size of storage memory created by raid10 (50% is
going waste due to mirroring and our hardware doesnot support raid5) .
How we are simulating a cf card fail?
answer: according to raid document "
http://tldp.org/HOWTO/Software-RAID-HOWTO-6.html " if we switch of the
system and remove a cf card ,it will simulate a disk failure .
Please provid any help to me i will be kind of you.
thanking you for your genuine support
ANSH
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 14+ messages in thread* Re: Doubt
2009-11-05 7:26 Doubt Light King
@ 2009-11-05 7:38 ` Iustin Pop
2009-11-05 7:42 ` Doubt Michael Evans
` (2 subsequent siblings)
3 siblings, 0 replies; 14+ messages in thread
From: Iustin Pop @ 2009-11-05 7:38 UTC (permalink / raw)
To: Light King; +Cc: linux-raid
On Thu, Nov 05, 2009 at 12:56:30PM +0530, Light King wrote:
> So we dont want any kind of data recovery in our raid device (like
> raid0) but we want if one cf card failed also, the raid device should
> run or should reactive without any error(like raid10) but we should
> abel to use the total disk space (like raid0).
Uh... you don't want to use any space for redundancy but you want redundancy??
iustin
^ permalink raw reply [flat|nested] 14+ messages in thread* Re: Doubt
2009-11-05 7:26 Doubt Light King
2009-11-05 7:38 ` Doubt Iustin Pop
@ 2009-11-05 7:42 ` Michael Evans
[not found] ` <d3540f4d0911050044w4ff51fddoba0aced44e3988b3@mail.gmail.com>
2009-11-09 17:48 ` Doubt Bill Davidsen
2009-11-09 18:35 ` Doubt Drew
3 siblings, 1 reply; 14+ messages in thread
From: Michael Evans @ 2009-11-05 7:42 UTC (permalink / raw)
To: Light King; +Cc: linux-raid
Your requirements are contradictory. You want to span all your
devices with a single storage system, but you do not want to use any
devices for redundancy and expect the filing system on them to remain
consistent should any of the devices fail.
That is simply impossible for file-systems, which is what block-device
aggregation such as mdadm is designed to support. Were you to loose
any random device out of the four portions of the filesystem metadata
as well as your actual data would be missing. That may be tolerable
for special cases (regularly sampled data, such as sensor outputs
comes to mind, when you don't -require- the sensor data, but merely
want to have it), however those cases are all application specific,
not general solution.
One typical way a specific application might use four devices would be
a round-robin method. In this a list of currently online devices
would be kept, then each cohesive unit would be stored to the next
device in the list. Should a device be added the list would grow,
should a device fail (be removed) it would be taken out of the list.
You have four choices then:
1) What I described above
2) A Raid 0 that gives you 100% storage, but all devices working or none.
3) A Raid 1+0 or 10 (same idea different drivers) solution, you're
already trying it and disliking it though.
4) Raid 5; you spend more CPU but you use one of the devices for
recovery data, so that you can tolerate a single failure.
5) Technically you might also have raid 6; but I'm not counting it
because you're already complaining about loosing 50% of your data and
this has the addition of being slower (BUT surviving -literally- any 2
devices, instead of any 1 device of the correct set.)
^ permalink raw reply [flat|nested] 14+ messages in thread* Re: Doubt
2009-11-05 7:26 Doubt Light King
2009-11-05 7:38 ` Doubt Iustin Pop
2009-11-05 7:42 ` Doubt Michael Evans
@ 2009-11-09 17:48 ` Bill Davidsen
2009-11-09 18:35 ` Doubt Drew
3 siblings, 0 replies; 14+ messages in thread
From: Bill Davidsen @ 2009-11-09 17:48 UTC (permalink / raw)
To: Light King; +Cc: linux-raid
Light King wrote:
> i have four cf card and i have one pci based cf card
> contoller(addonics card with pata_sil6800 driver).when i am connecting
> this four cf card to addonics card(which has four slots for cf cards)
> and inserting this total hardware package to pci slot of pc in linux
> os it is showing four different block devices to me.So using mdadm
> 2.6.3 software raid i am creating a raid device of level 0 . If one cf
> card from this hardware package getting failed the raid-device is
> becoming inactive .If i am trying to reactive the raid device using
> mdamd -R command it is giving a error of "memory cannot be allocated
> for the raid device " .The same thing i am trying with raid10 (our
> hardware only supports raid level 0 ,1,10) and if one cf card got
> failed we are abel to reactive the raid device.But the issue we are
> facing in raid10 is it is taking 50%(2-CF card out of 4) of total
> memory space as mirroring which is a loss for us .
>
> So we dont want any kind of data recovery in our raid device (like
> raid0) but we want if one cf card failed also, the raid device should
> run or should reactive without any error(like raid10) but we should
> abel to use the total disk space (like raid0).
>
> or
>
> any idea to increase size of storage memory created by raid10 (50% is
> going waste due to mirroring and our hardware doesnot support raid5) .
>
If I understand what you are asking, when one part of your array fails,
you want to throw away all the data on all the devices and create a new
array using the remaining functional devices. I guess you could run a
script to do that, but only if you put the controller in JBOD mode so
software raid can manipulate the individual devices. Then you could use
the drive fail event to trigger the script.
If that isn't what you want, have a go at explaining what you want to
happen when a device fails. Bear in mind that with raid0 when any one
fails all of your data is gone. Period. You have traded capacity and
performance for reliability, so there is no recovery other than start
over using the working bits.
--
Bill Davidsen <davidsen@tmr.com>
"We can't solve today's problems by using the same thinking we
used in creating them." - Einstein
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Doubt
2009-11-05 7:26 Doubt Light King
` (2 preceding siblings ...)
2009-11-09 17:48 ` Doubt Bill Davidsen
@ 2009-11-09 18:35 ` Drew
3 siblings, 0 replies; 14+ messages in thread
From: Drew @ 2009-11-09 18:35 UTC (permalink / raw)
To: Light King; +Cc: linux-raid
> So we dont want any kind of data recovery in our raid device (like
> raid0) but we want if one cf card failed also, the raid device should
> run or should reactive without any error(like raid10) but we should
> abel to use the total disk space (like raid0).
I honestly don't think there is any sort of setup that will work as
you described. If you want to have an array continue to function with
missing devices, you *will* have to sacrifice some space. The closest
type of block device I can think of which *might* achieve your goal is
spanning. Basically it turns all four drives into one huge drive but
doesn't stripe across them so *some* data will survive a device
failure.
Even if you were use spanning (assuming mdadm supports it, haven't
looked) and md doesn't complain when the device drops out, the
filesystem will choke as soon as you tried to access the data on the
missing device.
What is the application that needs this configuration?
--
Drew
"Nothing in life is to be feared. It is only to be understood."
--Marie Curie
^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <CANP0wgSEjZq_EFjSsvn77dHcDL119UwHTuCTtQik3os+NXmUHg@mail.gmail.com>]
* Doubt...
@ 2007-03-18 21:03 dhananjay.tembe
0 siblings, 0 replies; 14+ messages in thread
From: dhananjay.tembe @ 2007-03-18 21:03 UTC (permalink / raw)
To: netdev
Hi,
I am facing a problem when I run tc on the bonded nic cards.
When I run tc on a single nic card, it worked perfectly fine. But when I
run tc on a bond of two nics, tc gives poor performance. The two nics
were bonded in round-robin (load balancing) mode. I created a qdisc, class
and a filter as follows:
tc qdisc add dev bond0 root handle 1: htb
tc class add dev bond0 parent 1: classid 1:1 htb rate 240mbps
tc class add dev bond0 parent 1:1 classid 1:2 htb rate 50 ceil 50 quantum
1500
I started a TCP traffic between this bond (2gbit bandwidth) and a remote
nic (1gbit bandwidth).
Without qos, bond was transmitting at 960Mbps.
After I executed above mentioned commands, it was expected that the bond
will transmit at 400Mbps but it was transmitting only at 70Mbps.
Same thing was observed with different qos rates for class 1:2, outbound
traffic through bond was very less than the rate specified in the tc
command.
Is getting poor performance after running tc over a bond is a known issue?
Please help me with this issue.
Thanks and regards,
---Dhananjay.
^ permalink raw reply [flat|nested] 14+ messages in thread* doubt
@ 2004-12-29 23:52 durgam
0 siblings, 0 replies; 14+ messages in thread
From: durgam @ 2004-12-29 23:52 UTC (permalink / raw)
To: linux-kernel
i am accessing a variable from two modules . in one module iam reading
the varible , and in another module i am updating the variable for each a
second.
in the second module i am using interruptible_sleep_on_timeout so that it
will
be wake up after one second and update the varible. but the problem i am
facing is i couldn't read the variable in the first module for the moment
of time when the second module gets sleep. please can any one help me to
come out .
phani
^ permalink raw reply [flat|nested] 14+ messages in thread
* Doubt
@ 2004-06-28 18:43 so usp
2004-06-28 18:59 ` Doubt Esteve Espuña Sargatal
0 siblings, 1 reply; 14+ messages in thread
From: so usp @ 2004-06-28 18:43 UTC (permalink / raw)
To: linux-kernel
Hi...
i would like to know how to copy a string such as
"Test" to a char vector (char buffer[256]) in kernel
mode.
Thanks,
Luis Henrique.
______________________________________________________________________
Yahoo! Mail - agora com 100MB de espaço, anti-spam e antivírus grátis!
http://br.info.mail.yahoo.com/
^ permalink raw reply [flat|nested] 14+ messages in thread
* Doubt
@ 2004-06-25 19:14 so usp
2004-06-26 14:05 ` Doubt Gard Spreemann
0 siblings, 1 reply; 14+ messages in thread
From: so usp @ 2004-06-25 19:14 UTC (permalink / raw)
To: linux-kernel
Hi Guys,
I would like to know when a compiling the kernel if a
really need to use the comand make modules_install.
I'm asking the question because a would like to use
the old kernel to with the new one that a create.
Luis Henrique.
______________________________________________________________________
Yahoo! Mail - agora com 100MB de espaço, anti-spam e antivírus grátis!
http://br.info.mail.yahoo.com/
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Doubt
2004-06-25 19:14 Doubt so usp
@ 2004-06-26 14:05 ` Gard Spreemann
0 siblings, 0 replies; 14+ messages in thread
From: Gard Spreemann @ 2004-06-26 14:05 UTC (permalink / raw)
To: linux-kernel
On Friday 25 June 2004 21:14, so usp wrote:
> Hi Guys,
>
> I would like to know when a compiling the kernel if a
> really need to use the comand make modules_install.
> I'm asking the question because a would like to use
> the old kernel to with the new one that a create.
Do the make modules_install. The new modules will be in a separate directory
(/lib/modules/<version>) and will not interfere with older kernels that you
might have.
-- Gard
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2012-04-18 2:28 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-05 7:26 Doubt Light King
2009-11-05 7:38 ` Doubt Iustin Pop
2009-11-05 7:42 ` Doubt Michael Evans
[not found] ` <d3540f4d0911050044w4ff51fddoba0aced44e3988b3@mail.gmail.com>
2009-11-05 16:35 ` Doubt Michael Evans
2009-11-09 17:48 ` Doubt Bill Davidsen
2009-11-09 18:35 ` Doubt Drew
[not found] <CANP0wgSEjZq_EFjSsvn77dHcDL119UwHTuCTtQik3os+NXmUHg@mail.gmail.com>
[not found] ` <CAGdaadZDjFLNw-QrNRgp=gzcGLc-xSLZot2tGtmW7MoG6VG_7w@mail.gmail.com>
[not found] ` <CANP0wgQ8SV8=+eT2zu2Vw1_BKMhsgu_0E7Gu=bu3bBXzaiG=jA@mail.gmail.com>
[not found] ` <CAGdaadbTr+a8tHu29BWjvg6_wro9gXXCXoEZsEWBbQgNtxEfeQ@mail.gmail.com>
[not found] ` <CANP0wgRcxx6ZYswskn=p_f-dnaO8bTPmKQRbjt2gDA-b_3efrw@mail.gmail.com>
[not found] ` <CANP0wgR4NubpRoMfZAOPgmCPG4fnvVOEEX-wEKu-vGfraZr9sA@mail.gmail.com>
2012-04-18 2:28 ` Doubt Mulyadi Santosa
-- strict thread matches above, loose matches on Subject: below --
2007-03-18 21:03 Doubt dhananjay.tembe
2004-12-29 23:52 doubt durgam
2004-06-28 18:43 Doubt so usp
2004-06-28 18:59 ` Doubt Esteve Espuña Sargatal
2004-06-28 19:58 ` Doubt Christophe Saout
2004-06-25 19:14 Doubt so usp
2004-06-26 14:05 ` Doubt Gard Spreemann
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.