Frissítések
libisc50 probléma backports-os frissítésnél
It looks like an old version of libbind is left installed, which depends
on an old version of libdns which depends on the conflicting version of
libisc. So basically what I did is I looked at what packages conflicted
when trying to remove libisc50, and removed them as well. That normally
can quickly get ridiculous, since eventually you will run into a package
that depends on a lot of others, but since nothing seems to be using the
libbind9-50 package, it's a pretty clean fix.
apt-get -f --purge autoremove libisc50-
apt-get -f --purge autoremove libisc50- libbind9-50- libisccfg50- libdns53- libdns55- libisccc50-
RAID
LSI Raid monitorozása
mpt-status -s
Dell PowerEdge Expandable RAID controller 5
Telepítés
https://subtrac.sara.nl/oss/omsa_2_deb
http://support.dell.com/support/edocs/software/svradmin/5.1/en/omss_ug/html/cli.html#1220920
http://www.debianhelp.org/node/11520
HP Smart Array Controller monitorozása
Operációs rendszer | alkalmazás |
---|
Debian | Itt |
Centos | Itt |
AACRAID status
http://hwraid.le-vert.net/wiki/DebianPackages
Software RAID és LVM megoldások
Raid helyreálítása
Raid kifeszítése a rendelkezésre álló teljes terület kihasználásához
LVM helyreállítása
iSCSI
http://rendszergazda.org.hu/cikk/iSCSI_kiszolgalo_beallitasa_Debian_alatt_ (http://rendszergazda.org.hu/cikk/iSCSI_kiszolgalo_beallitasa_Debian_alatt\_)
Using iSCSI On Debian Lenny (Initiator And Target)
Egy egyszerű módszer iSCSI target használatára
This page provides some information on how to use IET on Debian. ( iSCSI Enterprise Target is known as iscsitarget under Debian). reminder, the target is the name of the "server" under iSCSI terminology (i.e The one that actually have the disk).
Quickstart
1. Install IET's package and module
IET is made of two packages :
You need to configure /etc/ietd.conf (here's a simple test page).
-
# Example iscsi target configuration
# a first account
IncomingUser jdoe YourSecurePwd1
# another one, for a windows user.
IncomingUser iqn.1991-05.com.microsoft:JDOE-PC YourSecurePwd2
#If mutual CHAP shall be employed, you need
OutgoingUser jack YourSecurePwd2
# The target name must be a globally unique name, the iSCSI
# standard defines the "iSCSI Qualified Name" as follows:
#
# iqn.yyyy-mm.<reversed domain name>[:identifier]
Target iqn.2007-01.org.debian.foobar:mydisk1
IncomingUser joe YourSecurePwd1
OutgoingUser jim YourSecurePwd2
#make sure the partition isn't mounted :
#Lun 0 Path=/dev/sdh,Type=fileio
Target iqn.2007-01.org.debian.foobar:CDs
IncomingUser joe YourSecurePwd1
OutgoingUser jim YourSecurePwd2
#make sure the partition isn't mounted :
Lun 0 Path=/dev/scd0,Type=fileio,IOMode=ro
Lun 1 Path=/dev/scd1,Type=fileio,IOMode=ro
#Lun 2 Path=/dev/hdX,Type=fileio,IOMode=ro
Lun 3 Path=/srv/debian-20070313-kfreebsd-i386-install.iso,Type=fileio,IOMode=ro
You should refer to the ietd(8) and ietd.conf(5) manpages for more information.
3. Restart the daemon
Online administration / Dynamic configuration
Adding a target / LUN
First, Let's add a Target.
[id] must be unused. You can get a list of the currently used Target IDs by: cat /proc/net/iet/session
Then add a LUN to a pre-existing target.
[id] must be an already existing Target ID (listed in /proc/net/iet/session)
refer to the manpage on how to disconnect a connexion, change the settings or remove a LUN or a target.
Adding a user
First, create a user for "discovery" :
Then, create a user for "iqn.foo.bar:test2" :
refer to the manpage on how to "delete" a user.
forrás
Megoldás arra az esetre, ha az iscsi_trgt modul hiiányzik
| It depends on your ubuntu-version. On newer systems (since Maverick) you have to install some additional packets: sudo aptitude install iscsitarget iscsitarget-source iscsitarget-dkms
This compiles the required module automagically. On Lucid you have to compile yourself (and maybe again after every kernel-update): sudo aptitude install iscsitarget iscsitarget-source
# compile with module-assitant
sudo m-a a-i iscsitarget
|
forrás
Egy másik lehetőség az iscsi target létrehozására
Creating a Target
An iSCSI target is a host running a daemon that answers iSCSI calles coming in over the IP network. The disk(s) that are provided to the network are plain and simple block devices, so it has nothing to do with LVM, ext2 or ext3, or anything else related to file systems.
In this section we will show you how to quickly setup an iSCSI target using the iSCSI Enterprise Target Project, also known as the iscsitarget. On a Debian based system use:
apt-get install iscsitarget
The configuration file for the iSCSI target is /etc/ietd.conf. For testing purposes I created a 5M disk:
dd if=/dev/zero of=iSCSI-disk bs=1 count=5M
parted iSCSI-disk mklabel loop
losetup /dev/loop2 iSCSI-disk
I then added this disk to the ietd.conf file as:
Target iqn.2001-04.com.example:storage.disk1.sys1.42
Lun 0 Path=/dev/loop2,Type=fileio,ScsiId=42,ScsiSN=42424242
I then started or restarted, depending if the system is already running, the system. That's it! To admire your work one can do:
[prompt]# cat /proc/net/iet/volume
tid:1 name:iqn.2001-04.com.example:storage.disk1.sys1.42
lun:0 state:0 iotype:fileio iomode:wt path:/dev/loop2
and also have a look at:
[prompt]# cat /proc/net/iet/session
tid:1 name:iqn.2001-04.com.example:storage.disk1.sys1.42
This last one changes when an initiator connects to our drives.
The rest of the options used per Target are well described in the manual pages to come along the iSCSI Enterprise Target. This section is written to give you a quick and cheap solution to use for the next section.
forrás