Debian Configuration :: Multipath Configuration On 5.0 64 Bit - Doesn't Create The Relative Devices
Jul 20, 2011
i have a HP MSA 2312fc SAN with 2 LUNs configured. The first LUN (LUN ID 1) is correctly connected to the system, but when i connect the second LUN (LUN ID 30), i find in the syslog this message: multipathd: 8:64: size 6835937472, expected 5267578112. Discard
Here is the multipath.conf
[Code]....
So I correctly see the two luns, but multipath doesn't create the relative devices. Under /dev/mapper I see: control mpath0 mpath0-part1 mpath0-part1 is the first lun, the one I mounted in a directory under filesystem. I can't find the device for the second lun
I've followed the guide at URL.... but my computer is unable to find any Bluetooth devices. Whether I'm using the command line or gnome-bluetooth, I don't get any results. If I plug in a cheap USB adapter, I'm able to connect and use the devices.My computer is a HP ProBook 4330s running Debian Jessie. And as far as I can tell the Bluetooth adapter is a Ralink rt3592 combination Wi-Fi and Bluetooth PCI card. The Wi-Fi works fine, but when i try to connect to a Bluetooth device, I get no search results.
When I connect my Debian PC to my WiFi router my PC doesn't get internet if other devices are connected to it .
When i disconnect those devices and connect my Debian PC only then my PC connects to internet but other devices connected to it later do not get inernet connection.
When I connect my Debian PC using LAN Cable to the same router all devices work fine.
After mapping iscsi storage from my netapp and scanning for new devices I run multipath -v2 to create the multipath device handle under /dev/mapping/. This normally takes about 2 seconds or less on every other linux distribution I use. On Stretch it takes a little over 3 minutes. I have tried several different versions of multipath.conf but the result is always the same.
My most recent multipath.conf file is available here : [URL] ....
and the output of multipath -v4 is available here : [URL] ....
I have and RHEL5.4 conecceted to an SAN HSV200. When I present a LUN to it, In system-confg-lvm gui appears a device like /dev/mapth/mapth0 (that�s the correct device to multipath) and other like /dev/sda or /dev/dm-N, as uninitialized entities. How could I configure to not display this device (/dev/sda) and prevent human errors?
This is the things I need:
1- I want (if it is posible...) to disappear the part where it says "uninitialized entities"
2- Is It necesary mantain the partitioning done to default (like /dev/mapper/mpath0p1) with device-mapper-multipath (kpartx command)? or Can I delete it without future problems?
I'm trying to assign pci devices to pci-stub at boot before any of the kernel drivers can access it. I've successfully managed to do this on a Ubuntu system but I cannot get it to work on Debian. I've set pci-stub to load as a module in /etc/modules. I've then tried both these methods:
Add pci_stub ids=8086:100f to /etc/initramfs-tools/modulesSet GRUB_CMDLINE_LINUX_DEFAULT="pci_stub.ids=8086:100f" in /etc/default/grub.
Both give the same result after updating grub/initramfs and a reboot: when I check "dmesg | grep pci-stub" I get:
The actual device id's are not claimed by stub. Same for lspci -v which shows that the devices are still using the kernel drivers.Again, this configuration works on Ubuntu. Also issuing the following commands successfully assigns one of the devices to pci-stub but I need it to work on boot before the kernel drivers load:
I've been keeping my feet wet learning Debian. So far only in a virtual machine but I have had that machine running every day. I'm running a Lenny/Squeeze mix.The system is running well, yet every time I reboot or halt the system there is a long pause at the "Deconfiguring network devices" message. I traced the message to S35networking. With this virtual machine, which is a model for my eventual physical machine installation, I have only a single wired eth0 NIC (pcnet32).
I'll take a wild guess the script might be trying to find additional cards to halt, or perhaps a wireless card that does not exist, but that is just a guess. I'm stil learning my way around with how the init.d scripts and various /etc config files interact.I'm using a static IP address. DHCP is disabled, as far as I can tell. I did not notice anything in the logs.
Alright, I was playing with the VPN capabilities in KDE4 on Squeeze AMD64 on my personal laptop (see my signature) and found it very easy to create a VPN connection and connect, but that's it. I made a VPN tunnel to one of my client locations as a test, but could use rdesktop to get into the server. Then I realized I couldn't ping the server either. I also lost all ability to browse the web and everything while the VPN was up. Upon checking ifconfig as root, I saw that it created "ppp0" and hat it had pulled an IP from the client network, but all of my networking capabilities were gone. What gives? What is it that I am missing?
I have met a Bug in the debian squeeze with the kernel 2.6.32-5-xen-amd64 and Xen 4.0.1 I have try with two differents environment, but i have the same result. I haven't this bug when i use just the kernel 2.6.32-5-xen-amd64 without the hypervisor Xen 4.0.1 and on the debian lenny with the kernel 2.6.26-2-xen-amd64 + Xen 3.2.1. When i run a script who create a snapshot of a LV, i have this Bug error: Just after the "lvcreate -s -n Snap -L 1G /dev/data/svsqueeze" in the script
I admit PV is new to me, compared to simple HVM, so I have a number of questions:
1. Why the command not found error?
2. Should I be booting from the Xen option or regular boot option at the start up screen when creating the xen image? I've tried both and get the same error message.
3. I have Debian 8 (Jessie) installed on my system and I wasn't sure whether I should therefore make this the guest OS in my Xen PV. In asking this question I'm thinking in terms of HVMs - but I assume my Xen PV needs a guest OS of some kind? Or is my host Debian 8 already acting as a guest OS in Xen PV? I'm confused
4. If I do need to install a guest OS, is it better to go for an earlier version of debian - so as not to be so resource hungry?
I'm nervous about screwing up my host debian installation, so when I got the error message, did some research but found nothing meaningful. I don't want to end up having to reinstall my Debian 8 (base OS) ... again!
I am trying to create a LiveCD with the option of installation.So far, so good.Live and installation works well.Now I want to automate the installation. The problem is that when I run the install from the ISO, he said he did not could find the preseed file.In looking around, it seems that we should add this file in initrd But, I do not see how.I searched a few hours on the net in vain.
create lenny usb-hdd live and would like to have ext2 on the usb stick.I changed in config/binary to ext2:LH_BINARY_FILESYSTEM="ext2"but get this problem:# lh_clean # lh_build W: You have selected values of LH_BOOTLOADER and LH_BINARY_FILESYSTEM which are incompatible - syslinux only supports FAT filesystems.
On Debian Etch I used to understand how to change boot kernel parameters with Grub. You could just edit menu.lst.
With the newer Grub in Squeeze I am without a clue! I want to set up a ramdisk, say 128 Megs in size, and add that to my boot parameters so that it is created every time the machine starts. Do I set something in /etc/default/grub ?
My Postfix cannot currently create any folders other than inbox. Even when I send an e-mail I receive an error along the lines of, "Could not create sendmail folder." Also, my Postfix isn't receiving e-mails, and can only send e-mails to other accounts on the server. I called my ISP and they told me my port 25 isn't blocked, and it is forwarded on my router so I am not sure what could be wrong. I am using zoneedit as my name server and I am pretty sure my MX record is good.
i have the following problem which i couldnt solve in the past weeks. We have two Server with an onboard "Atheros AR8161 Gigabit Ethernet (rev 10)" and a quad "Realtek RTL8111/8168B" network adapter connected via PCIe. One of the servers is running Debian Wheezy with a custom 3.2.53Kernel (compiled from linus repository) and the second one runs Debian Jessie with stock kernel. Both are running XFCE4.
Each of the computers are connected to a local network (192.168.0.1 respectively .2) and to the intranet of our institute (10.20.0.81 respectively .82). After a random time they are not accessible via the intranet (ping doesnt work, ssh gives no route to host). However, i can still ping them over the local network. Also, at the moment i try to establish a ssh connection over the local network, the computer is again acessible via the intranet.
I already tried the boot options acpi=off and pcie_aspm=off without success. Additionally we switched from the onboard Atheros NIC to the Realtek, but everything stays the same. Therefore i don't believe that it is driver related.
For me it looks like that the NIC goes to an energy saving mode which is not handled correctly by our intranet. However, how can i avoid that the NIC goes to energy saving state? Is there a way to disable the D-states?
I have installed Squeeze on my laptop, an Acer 5315.The fans never turn on, and the laptop eventually overheats and shuts off.This is not a hardware problem, because Lenny, on another partition, works fine.I have poked around, and discovered that the temperature sensor, as reported by "acpi -V", and in /sys/devices/virtual/thermal, does not get updated. It seems to get read at boot, but the reading never changes, no matter how hot the machine gets.
Specifically, if the machine is cool, acpi reports 40 degrees C, and goes on reporting the same number until the machine overheats and shuts down.On the other hand, if the machine is hot (because it's been running without the fan), and I reboot, then the reading at boot is usually either 75 or 85, and the fan turns on during boot, and stays on, at high speed, until the next reboot, and the reading never changes during the whole time
The luksOpen command asks me for my passphrase, but always rejects it. I have retried this several times and written down the passphrase - and even tried with a very simple one just to check. And I never can make it work.
I am new to debian and recently I have been working with a debian server. I have been asked to find out how to create a script that you can run or can be run by another program to format and mount a new hard disk?
I'm using debian 8 on a notebook and since I tried to get the wifi working (another story...) I wanted to unload and load the alx driver module. So I used rmmod alx and when I tried to reload with modprobe, it didn't find the device (not the module). So I rebooted and now the notebook won't start. There's just the emrgency mode, so I log in as root and journalctl -xb gives me some erros:
Code: Select allsystemd-modules-load.service: main process exited, code=exited, status=1/FAILURE
Failed to start Load Kernel Modules.Unit systemd-mdoules-load.service entered failed state.Then it fails to start the modules ip, ppdev, parport_pc and fuse.Next error is
Code: Select allboot-efi.mount mount process exited, code=exited, status=32
Failed to mount /boot/efi.Followed by
Code: Select allDependency failed for Local File System. And last but not least Code: Select allFailed at step EXEC spawning /bin/plymouth: No such file or directory.
There was also an error at the first time "Failed to load autofs4", so loaded it manually with modprobe. As this worked, I opened the /etc/modules - which was empty, don't know whethere it was also empty before or not - and wrote autofs4 in the file. autofs4 seems to load succesfully, so I tried writing also ip, ppdev, parport_pc and fuse, but I just get the error for these last four twice... But lsmod shows some loaded modules (autofs4, ext4, crc16, mbcache, also alx and say 15 more).You should also know that I use an extra boot partition and use EFI.
I have had to revert my VM to a previous image (did something to screw it up) anyway I have to reinstall icedove into my VM and I noticed after doing: sudo apt-get update && sudo apt-get install icedove that icedove can't seem to be found in the libraries anymore and simply wont install.
I bought a laptop : Samsung R580 and when i want to install Debian Squeeze with NetInstall, it's impossible because ma Ethernet Card isn't recognized.These are the caracteristics of my card :PCI ID : 11ab4381Supporté : YesFabricant : Marvell Technology Group Ltd.Matériel : 88E8059 PCI-E Gigabit Ethernet ControllerPilote : sky2The driver is not in the kernel 2.6.32 and i must to wait a new kernel version in Debian?
After to install Debian Sid, i can't to connect to my network. When i launch lsmod, ath9k is present so the module is enabled.I don't use network-manager-gnome, wicd and other, i modify myself /etc/network/interface. But even with this configuration, the wifi does not works.
I have an Atheros wireless USB dongle that will connect to my Wifi network just fine in Gnome but in KDE doesn't. I've read through the http://wiki.debian.org/WiFi/HowToUse and have installed all packages and tried all methods noted there but still can't get the wlan0 to work at all in KDE. Is wireless in KDE & Debian Squeeze useless?
I'm trying to configure auditd to monitor "strange" events with apache2 weberver on Wheezy (though same problem occurs on Jessie), tried both with "vanilla" 3.2 and backports 3.16 kernel I am actually using.
Here's auditd rules I have problem with:
Code: Select all-a exit,never -F arch=b64 -S stat -F path=/var/www/server-status -k web -a exit,always -F arch=b64 -S stat -F uid=www-data -F success=0 -k web
So to recap, I want to log stat syscall failures for www-data user, but excluding some "known" issues, such as that "/var/www/server-status" (after a2enmod status, /server-status path can be accessed for statistics, though apache2 still tries to find physical file for that path and fails).
When I right click on a free area of the desktop or within an open folder, I read "Create Document" -> "no templates installed" and "Empty File". How to install the templates in there so I could open a file of my choice?
Since upgrading from Wheezy to Jessie I have not been able to start the MySQL-server. When I do a "systemctl start mysql" I get the following answer on the console:
Job for mysql.service failed. See 'systemctl status mysql.service' and 'journalctl -xn' for details. Entering 'systemctl status mysql.service' the answer is: ● mysql.service - LSB: Start and stop the mysql database server daemon Loaded: loaded (/etc/init.d/mysql) Active: failed (Result: exit-code) since Don 2015-06-18 18:35:41 CEST; 4min 1s ago Process: 11272 ExecStart=/etc/init.d/mysql start (code=exited, status=1/FAILURE)
syslog and hostname.err don't show any pertinent messages.
So, as per Arch Linux's wiki, I tried to make some optimisations to the intel driver through setting it up in Xorg.conf (or as advised by that wiki article, in '/etc/X11/xorg.conf.d/20-intel.conf' ), but I've ran into trouble enabling DRI3. Here's my current config file:
So far everything works fine, I haven't seen any noticeable tearing, nor did I had any problems with any graphics-intensive programs I run, but there's a slight problem with the DRI3 part as indicated by Xorg's logs:
Code: Select all[ 26.556] (II) Loading sub module "dri2" [ 26.556] (II) LoadModule: "dri2" [ 26.556] (II) Module "dri2" already built-in [ 26.556] (==) Depth 24 pixmap format is 32 bpp [ 26.616] (II) intel(0): SNA initialized with Haswell (gen7.5, gt2) backend [ 26.616] (==) intel(0): Backing store enabled
[Code] ....
First of all it still mentions the DRI2 driver, is this supposed to happen, or did something go wrong? Also it complains that it cannot find a file, which I can't figure out which package it belongs to, and taking a quick search around the interwebs hasn't produced anything useful...
The IGP is the CPU, which is actually a i5-4460... which according to Wikipedia it has a HD Graphics 4600 GPU.
After the latest update of network-manager-gnome to version 1.1.90-3 , I see that I have to start the nm-applet in Testing from a terminal, otherwise I can't bring up my wired connection.
The usual nmcli networking on command is failing to connect, also restarting the network-manager.service with systemctl doesn't do anything, the only way to connect at this time is indeed to manually start the nm-applet from a terminal.
I've also spotted this message in the logs:
Code: Select alltraps: nm-applet[1105] general protection ip error:0 in libgobject-2.0.so.0.4600.2
Could it be something wrong with my configuration (although , it worked before this update) or is it some bug in network-manager-gnome 1.1.90 ?
I need to set up a little virtual network with Debian Lenny guests (the host is Debian Squeeze, but I don't think it matters). I installed Lenny in a VM and it works fine. Then I cloned the hard drive, garion@Laptop:~$ VBoxManage clonevdi Linux 1.vdi Linux 2.vdi created a new VM with exactly the same settings as the first one and booted the new disc. The problem is that there's no eth0 in the new VM, but it is in the original one. Also if I "unplug" the cable, dmesg won't notice anything. In the original VM it works fine. They both have the same virtual network card: PCnet-FAST III (Am79C973). I've also tried NAT as well as internal network settings.