And I tend to use raid whenever I can, that is, in almost every
machine with enough room for disks, and raid1, raid6 or raid10,
sometimes raid0 when speed is crucial but data is expendable
(cheap to regenerate); raid5 I try to avoid.
--
Tapani Tarvainen
--
To UNSUBSCRIBE, email to debian-use
at without much downtime.)
--
Tapani Tarvainen
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150102084211.ga25...@tarvainen.info
here
is) using dd or similar, taking care of aligments &c, then delete and
recreate partitions to match new locations (taking care not to let any
too automatic tool to mess things up), reboot, realize you've
messed up, go to step (3). :-)
--
Tapani Tarvainen
--
To UNSUBSCRIBE, email to
100% reliable either, but then nothing is, short of
actually sending the mail and waiting for reply or something.)
--
Tapani Tarvainen
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
x27;ll work in more or less
every *ix-related box, as it only uses standard POSIX tools.
--
Tapani Tarvainen
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
try telnetting to it.
--
Tapani Tarvainen
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
ash
case "$( (sleep 5; echo quit; ps |awk '/telnet/{print "kill "$1}' |sh) | telnet
192.168.0.20 25 2>&- )"
in
*'
220 '*) echo Success ;;
*)echo Failed ;;
esac
--
Tapani Tarvainen
--
To UNSUBSCRIBE, email to debian-user-requ...@lis
load and whatnot.
Quite a few even deliberately wait some 10 seconds just
to trip spamming software known to be too impatient.
--
Tapani Tarvainen
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
mail.conf
(set DAEMON_MODE="none").
--
Tapani Tarvainen
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
quot; in
*'
220 '*) echo Success ;;
*) echo Failed ;;
esac
--
Tapani Tarvainen
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
ed with a single server this way.
Has anybody here used GlusterFS with Debian?
Would (ab)using it that way make sense?
--
Tapani Tarvainen
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
ndows Home Server is in a similar situation.
What I have seen is news headings like
"Windows Home Server Bug Could Lead To Data Loss" and
"Shared Folders Problem While Removing Physically Failed Hard
Drive in Windows Home Server".
If someone has actual experience about dealing with lo
ch circumstances
by searching for known pieces of the file content - not fun.
With a binary file it would've been all but impossible.
--
Tapani Tarvainen
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
hat are good solutions for doing (2)?
I'm using rsnapshot, and given what you told of your setup,
I think you'd be happy with it, too.
--
Tapani Tarvainen
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
nst certain types of hardware problems.
(If the new disks are big enough you might wish to partition
them into even more pieces and raid them separately.)
If you want to stick to one raid1 array it is of course also
possible: mdadm --grow and pvresize are what you need.
--
Tapani Tarvainen
emount,ro /
--
Tapani Tarvainen
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
although recovery of a partially lost lv is
rather painful.
And of course raid/mirroring helps - with software raid as
well as with lvm mirroring you can do it even with disks
of different sizes.
--
Tapani Tarvainen
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a s
the features you listed can be done with lvm command line tools.
Which of course is not the same thing: ease of use is the whole selling
point of Windows Home Server.
I guess the closest Linux equivalent would be Openfiler (www.openfiler.com),
but I don't know of any separate disk management G
you're using lvm anyway, it doesn't make much difference
whether physical volumes are disks or disk pairs.
Anybody want to claim being a newbie and having an opinion here?
--
Tapani Tarvainen
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
eing used with
the latter from hp-ux), and decided to go with the former.
There wasn't much difference in speed as I recall, but md allowed
making bootable raid1 and it seemed better supported in Linux.
--
Tapani Tarvainen
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
t temporarily
doubles, taking /lib to 340MB or thereabouts.
I do't see it at all impossible that the 500MB I have for / there now
will get too small before the machine is retired.
--
Tapani Tarvainen
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of &quo
ny scripts that you
> find helpful for rebuilding arrays you could put in /root/bin.
You could just as well use /boot/doc and /boot/bin.
But, yeah: the issue is debatable, there's no really overwhelming
reason to go either way in every case.
There are situations where the advantages of lvm
a loss
and increased complexity, if you are using LVM anyway.
> Capacity can be dynamically added with pairs of disks.
Yes. I'd prefer that if speed isn't critical.
--
Tapani Tarvainen
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubs
rd read error
in a critical place in the disk.
--
Tapani Tarvainen
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
agreed, but there are other costs
caused by the inflexibility it implies.
Anyway, nowadays I usually encrypt / anyway (or rather, encrypt
mdadm devices used as lvm physical volumes and put / in there),
and then there's no choice.
--
Tapani Tarvainen
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
eded shouldn't be hard.
As for the rest of your points, well, both software raid
and lvm do increase complexity and require learning some
new tricks, but they're well worth the trouble if you
manage any system more complex than a simple workstation,
IMHO.
--
Tapani Tarvainen
--
To
pted, RAID1 ext3 /,
you can boot off it directly, without separate /boot.
If you are making separate /boot, you might as well
put / under LVM (which is what I'd do - and indeed
what I have done with just about every machine I have
installed since I've forgotten when).
-
nal plan (as I understood it) is a sound
compromise between cost, reliability, speed and simplicity
under a wide range of requirements.
--
Tapani Tarvainen
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
ID1 - I don't have
hard data at hand, but I think rebuilding 3x500GB RAID5 would
take longer than 2x1TB RAID1.
So 2x1TB as RAID1 is safer than 3x500GB as RAID5.
--
Tapani Tarvainen
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
r simultaneously connected disks?
How full is the XFS system presently on the RAID5?
--
Tapani Tarvainen
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
of partitions
with different sizes so that you can later combine them
in various ways.
--
Tapani Tarvainen
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
e extension
mechanisms needed to handle memory space bigger than 2^32,
so if you are buying a new machine and plan to have over 4GB
of RAM, a 64-bit CPU and OS would be preferable.
--
Tapani Tarvainen
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
ead of proper eSATA ones (don't know about this particular one).
> StarTech 2 Port PCI-Express eSATA/SATA (1 Int + 1 Ext) Card Model PEXESATA2I
> http://www.newegg.com/Product/Product.aspx?Item=N82E16815158095
> (uses (jmicron) AHCI)
No experience with this one.
--
Tapani Tarvain
it can handle Skype calls.
Whether it's any better than Skype, well, depends.
--
Tapani Tarvainen
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
lm
> pni monitor ds_cpl cid
> is it ok? for 64 bit
Yes. The "lm" in the flags list means "long mode" = x86-64.
--
Tapani Tarvainen
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
e any way to check which processor installed in debian?
cat /proc/cpuinfo
--
Tapani Tarvainen
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
,
only there will be unused space at the end of the partition,
and pvresize will claim it.
At least that's how it works with normal disks, I don't
know if your hardware RAID does something strange.
--
Tapani Tarvainen
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
emptor: any mistakes (including things I've made
by forgetting something) may result in loss of data.
Fresh backup before starting is recommended.
--
Tapani Tarvainen
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
, just create another LVM partition and add it to the
existing volume group (pvcreate, vgextend).
If there is some reason that won't do what you want, I'm
curious to hear what it is.
--
Tapani Tarvainen
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a
-F'[: ]+' '/inet addr:/{print "your ip on '$1' is "$4}'
Also, it might be prudent to use full path for ifconfig,
i.e. /sbin/ifconfig, as /sbin may not be in $PATH.
--
Tapani Tarvainen
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
time needed, not directory traversal.
Of course here xargs was helped by the fact that filenames
were short (most 12 characters with the directory name),
but the speedup over -exec is still rather impressive.
If anyone can come up with a scenario where -exec
is significantly faster than xargs, I&
happens to get is in USA and following the embargo
too literally), or (3) his connection is simply so slow ntpdate
gives up before getting the reply.
Leo, try europe.pool.ntp.org instead, and if it fails, try again
with 0.europe.pool.ntp.org, 1.europe.pool.ntp.org &c up to 3.
--
Tapani Tarvai
ot;`date +%m`" != "`date --date week +%m`" ] && myprog
The last depends on Gnu date (but that's what Debian uses,
so it's appropriate here): "date --date week" gives the date
one week from now, and if the month is different, today
is the last Monday.
--
ly preferred
when you want to remove everything in the directory, the find version
could be speeded significantly by using xargs, i.e.,
find . -type f -print0 | xargs -0 rm
This is especially useful if you want to remove files selecticely
instead of everything at once.
--
Tapani Tarvainen
--
ou don't install the patches,
your system will be significantly more vulnerable than if you do.
--
Tapani Tarvainen
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
ter yet if you are using LVM, just use pvmove - with
hotswap disks you could even replace the root disk without booting.
--
Tapani Tarvainen
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
isn't too bad.
I installed Lenny on a 64MB box a while back, and first it appeared
almost unusable, but after a bit of tweaking it's now running happily
as a DNS server and mail relay. The biggest memory hog was rsyslogd,
but it's memory footprint shrunk from about 28MB down to 4MB
simp
ng the two-stage cryptdisk
startup sequence like I do, or in some other way that opens encrypted
LVM volumes only at the late cryptdisk startup script?
If it's just me I guess I'm better off messing with rc.local,
otherwise I'll consider making a bug report/enhancement request.
--
-
[ 32.877340] 3c59x :01:00.0: enabling device ( -> 0003)
[ 32.877510] 3c59x: Donald Becker and others.
[ 32.877635] :01:00.0: 3Com PCI 3CCFE575CT Tornado CardBus at ca9c8000.
[ 32.877759] PCI: Setting latency timer of device 0000:01:00.0 to 64
Any suggestions would be appreciated.
49 matches
Mail list logo