Debian Configuration :: Df Output Shows Mixed Dm-X
Jun 25, 2015
After upgrading our vmware template server from debian wheezy to debian jessie the output of the df command seems broken with regards to the root and /usr mount.We are using LVM on this machine.I've been searching for quite some time for a solution, but lack of linux knowledge is bothering me to get it fixed. The system seems to run fine without issues.
I can temporarily resolve the issue (untill next boot) by doing a lazy umount and a new mount of for example the /usr.I found a thread that something has changed in the way df presents the devices, however it is not consistent in our case (it shows a mix of both) and it seems to go wrong at an earlier stage during boot.Either show all dm devices or mapper devices is fine with me although I have a slight preference for the mapper names as it makes it more obvious LVM is being used.
Code: Select alldf -h 11:12
Filesystem Size Used Avail Use% Mounted on
/dev/dm-0 922M 391M 467M 46% /
udev 10M 0 10M 0% /dev
tmpfs 403M 5.7M 397M 2% /run
[code]....
View 0 Replies
ADVERTISEMENT
Aug 10, 2010
This time I install fedora I get a sound card. It says Audio oupt or something well I can hear my speakers making sounds like blerereblumm like someone is rubbing a cloth over them yt no sound though. My output volume for all applications is maxed. So, what can I do to fix this?
View 8 Replies
View Related
Sep 2, 2010
I just noticed after installing a new server with samba that a portscan will show the samba used ports. This server has two interfaces, a world address eth0 and an intranet eth1. The samba ports show in scanning either interface, even after I changed samba to listen only to the intranet (192.168.x) address.
I am concerned especially about the 139 and 445 ports, which could attract a lot of garbage traffic.This is Debian 5.05 default samba installation.Otherwise similarly installed Ubuntu box with two interfaces does not show samba at all, even though smbd is running and working just fine.
View 4 Replies
View Related
Jan 14, 2016
I'm getting weird behaviour while setting up an mdadm RAID1 array on debian 8.2.
After I set-up the array, lsblk shows:
Code: Select allsimon@debian-server:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931.5G 0 disk
`-sda1 8:1 0 931.5G 0 part
`-md0 9:0 0 931.4G 0 raid1
sdb 8:16 0 931.5G 0 disk
[Code] ....
After a reboot, lsblk shows:
Code: Select allsimon@debian-server:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931.5G 0 disk
`-sda1 8:1 0 931.5G 0 part
`-md0 9:0 0 931.4G 0 raid1
|-md0p1 259:0 0 811.6G 0 md
[Code] ...
I don't know where the md0p1 and md0p2 partitions are coming from. My /etc/fstab and /etc/mdadm/mdadm.conf both have nothing about this in them.
parted shows one partition on md0:
Code: Select allsimon@debian-server:~$ sudo parted /dev/md0 print
Model: Linux Software RAID Array (md)
Disk /dev/md0: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 1000GB 1000GB ntfs
Where the md0p1 and md0p2 partitions are coming from?
I'm setting up the array by doing as follows:
Delete existing device (I've done this a few times):
Code: Select allsudo mdadm --stop /dev/md0
sudo mdadm --remove /dev/md0
Zero drives:
Code: Select allsudo dd if=/dev/zero of=/dev/sda bs=1M count=1024
sudo dd if=/dev/zero of=/dev/sdb bs=1M count=1024
Create partition tables:
Code: Select allsudo parted /dev/sda mklabel gpt
sudo parted /dev/sdb mklabel gpt
Create full-disk partitions:
Code: Select allsudo parted -a optimal /dev/sda mkpart primary '0%' '100%'
sudo parted -a optimal /dev/sdb mkpart primary '0%' '100%'
Set raid flag on partitions:
Code: Select allsudo parted /dev/sda set 1 raid on
sudo parted /dev/sdb set 1 raid on
Create RAID array:
Code: Select allsudo mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sd[ab]1
Add filesystem (I'm using NTFS, but the problem also happens with ext4)
Code: Select allsudo mkfs.ntfs -f /dev/md0
View 1 Replies
View Related
May 10, 2011
I've just installed 'Testing' on a VMware server and after I completed the install with no problems, the system booted into the kernel and I noticed the following start up process error:
startpar: service(s) returned failure: udev...failure!
I have not seen this before and am not sure if it's related to the fact that this is a virtual machine and not a physical server or something else.
Here is a Screenshot.
View 1 Replies
View Related
Jul 6, 2011
I was just downloading a few torrent files when all of a sudden my network connection just died. I checked the output of dmesg an I saw this:
[25148.587960] [UFW BLOCK] IN=wlan0 OUT= MAC=00:26:c7:05:3f:c8:00:24:a5:34:93:91:08:00 SRC=192.168.106.1 DST=192.168.106.5 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=26519 DF PROTO=TCP SPT=4631 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0
[25174.135763] [UFW BLOCK] IN=wlan0 OUT= MAC=00:26:c7:05:3f:c8:00:24:a5:34:93:91:08:00 SRC=150.101.154.95 DST=192.168.106.5 LEN=58 TOS=0x00 PREC=0x00 TTL=114 ID=3696 PROTO=UDP SPT=18091 DPT=51413 LEN=38
[code]...
Of course their were hundreds of lines just like these,but just so you get the idea. I had to physically power down my router in order to get connected again, then all of this continued. I'm clueless in the networking department, but this seems alarming to me , as some of those source IP's are external. Is someone probing me? Or is this normal with torrent activity? I've never seen so much activity by my firewall. I recognize port 51413 is for transmission, but 3389? That's for remote desktop connections as far as I know.
View 4 Replies
View Related
Jan 27, 2011
I installed Debian Squeeze on a new Acer Timeline.
lscpci gave me this
I used the Debian Wiki [url] to get the wireless working, but it's not happening.
iwconfig gives this:
The Network Manager shows (under Wired Networks) ifupdown(eth0) - I've never seen the "ifupdown" here. Wireless shows as disabled.
When I boot I see a few of these:
But I get No DHCPOFFERS received. So, Wireless is disabled.
View 3 Replies
View Related
Sep 19, 2015
I try to create some rules to detect an outgoing traffic from my debian jessie that is not from my IP or loop.
#!/bin/bash
/sbin/iptables -N C_OUT_N_LOCAL
/sbin/iptables -N C_OUT_N_LOCAL_LO
/sbin/iptables -A C_OUT_N_LOCAL -m limit --limit 2/min -j LOG --log-prefix "PK: output not local : " --log-level 4
LO_IP="127.0.0.1"
MY_IP="192.168.0.4"
/sbin/iptables -I OUTPUT -p ALL ! -s $LO_IP -j C_OUT_N_LOCAL_LO
/sbin/iptables -A C_OUT_N_LOCAL_LO -p ALL ! -s $MY_IP -j C_OUT_N_LOCAL
View 0 Replies
View Related
Jul 11, 2011
how do you change the default audio output device if you have multiple sound cards?
View 14 Replies
View Related
Aug 28, 2015
ow Debian init system is organized actually (btw i am using stretch) ? I see systemd installed, with some services run from it (systemctl shows a small list), but at the same, i still see /etc/init.d full of traditional init scripts.
View 3 Replies
View Related
Aug 22, 2011
Is there any way to colorize the output of aptitude as in 'pacman-color'? I would like to use ~/.Xdefaults colors.
View 1 Replies
View Related
May 6, 2015
Without knowing the consequences I added the Sid repository to Wheezy (installed version) in order to install some software. Only much later I discovered that this generated me some mess which does not allow now to install additional software due to library conflicts.
I tried to install some packages needed to build the PhantomJS but here is what I got:
Code: Select allReading package lists...
Building dependency tree...
Reading state information...
build-essential is already the newest version.
g++ is already the newest version.
g++ set to manually installed.
[Code] ....
Is there a way to clean up the mess that Sid introduced and revert back to the Wheezy versions?
I have an old backup, so it would take me much more time to reinstall/reconfigure certain software, so I am looking to alternatives.
Is there a way to check all the packages and find all the potential conflicts and then a way to restore the original Wheezy content?
View 1 Replies
View Related
Apr 11, 2010
I setup a windows comp to do ics but decided I needed more control so I am trying to use a linux comp. heres the how to I am trying to follow. [URL] I will have both windows and debian machines connected. the first thing is to get my daughters winxp comp connected to the internet since she needs it for school. I need a central server to control which comp accesses what. most of the windows comps will be passing through to the internet while my linux machines will be accessing each other. maybe later a samba share. but right now I only need proxy and dns. I would say doing it with windows was easy but I learned how to do that from posts on this sight and someone might remember them. I will say it is now easy to do windows proxy but I need to replace a active directory domain with something differant. servers is where linux should excel. heres what I get when I type route.
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
localnet * 255.255.255.0 U 0 0 0 eth0
default dslrouter.alban 0.0.0.0 UG 0 0 0 eth0
View 1 Replies
View Related
Jan 13, 2011
I am running Debian Testing (Squeeze). I have just one problem... It always shows "mount: / is busy" message while shutting down and/or rebooting, though it halts soon thereafter. Is this error message fatal, will it cause any problem in future? If so, is there any quick fix?Here are few details of my system settings:
fstab:
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
[code]...
View 7 Replies
View Related
Feb 22, 2011
I am currently reading a book about Linux commands. There is an example which shows how to print all installed packages. But on my PC is shows northing:
rpm -qa
I know it is supposed to print a long list of all installed packages. I tried to re-install rpm from the synaptic, but still it shows no output.
View 7 Replies
View Related
Jun 15, 2011
In the terminal, I type glxgears and get a frozen window of the colored gears.
View 1 Replies
View Related
Oct 21, 2010
I recently tried out recordMyDesktop (not the GTK+ frontend, just the CLI program, I wanted to Keep It Simple this time ), and found that the videos it records/encodes show massive motion-smearing artifacts when played back. This is without the "--on-the-fly-encoding" option; with it, the video looks fine (i.e. has no artifacts other than the typical ones found in any compressed video), but it plays back too quickly (the time-step between frames is too high, thus making everything go too fast when the video is played back, even though the frame rate is low). Here's a screenshot of the video playing, showing what the artifacts look like (they're nasty!).
I've searched Google and LQ about this problem to no avail: either there were no relevant results, or it was just a post on a different forum asking basically the same question, but with no answer. So apparently this problem is either really rare, or it's something specific to my configuration, and mine alone (highly unlikely).
System specs:
CPU: Intel� Core� i5 430M @ 2.27 GHz
GPU: NVIDIA GeForce� 310M w/ 512 MiB VRAM
RAM: 4 GiB
Command used to record:
Code:
recordmydesktop --fps 30 --no-sound --no-frame --overwrite -o /home/mrcode/Videos/capture.ogv
I've tried different options, such as --quick-subsampling, as well as tweaking the video quality and bitrate settings (--v_quality and --v_bitrate), all of which did nothing to change/get rid of the artifacts.
View 4 Replies
View Related
Sep 9, 2010
I have mounted an NFS share with ISO images on my kvm Server. If i connect such a iso to a VM (using virt-manager) for installing a operating system i get the following error on startup: Error starting domain: internal error Process exited while reading console log output: char device redirected to /dev/pts/1 qemu: could not open disk image /mnt/iso/public/Linux/Distributions/Debian/debian-504-amd64-netinst.iso: Permission denied
The problem is definitly that kvm (or qemu or libvirt-bin, i don't know) tries to set permissions (rwx owner for libvirt-qemu, --- for kvm group, --- for other) on the file, although it has read permissions. Is it possible to change this behavior?
View 1 Replies
View Related
May 8, 2011
I have a fresh install of Natty and i'm having some issues getting sound to work. My laptop has a built in sound card which works just fine. However, i also have a usb 5.1 sound card which isn't working at all. Both devices show up in 'Sound Preferences' but when i select the 5.1 device as the output device sound doesnt work. I ran the alsa-info.sh script and the output can be found here.
View 4 Replies
View Related
Sep 24, 2010
boot up in to chameleon, lists only Mac OS X as a boot option. Reboot, load Ubuntu 10.4 install cd, get to a terminal, mount /dev/sda3 /mnt grub-install --force --root-directory=/mnt/ /dev/sda3
reboot, let chameleon come up, it sees both Mac OS X & Ubuntu partitions and I can boot to either or happily, now here is the problem... If I select linux and boot in to linux from chameleon, i am brought to the grub menu, where i can select the first choice which is normal ubuntu 10.4 and every thing is great... until I reboot and my linux partition no longer shows up in chameleon, as if tthe act of booting in to grub is changing something / deleting itself from the partition? and I have to do the whole thing over again. SO, not having to even go in to OS X, I'm not sure thats really the concerns more as I'm doing something wrong with grub.
View 3 Replies
View Related
Sep 19, 2010
I just went out and bought stuff to build a new computer, and among the parts was a Gigabyte ga-890fxa-ud5 motherboard ([URL]). The board has 3 (well, 4, but we'll stick to the 3) main sata interfaces, with 2 slots per interface, allowing 6 sata drives. In slot_0 i put my blu-ray drive, in slot_1 i put my drive that will host the OS and its partitions, and that is in the sata connector pair on the left. The middle sata connector pair (slot_2 and slot_3) i have 2 2tb drives, and in the sata connector pair on the right (slot_4 and slot_5) i have 2 1.5tb drives.
[Code]....
View 14 Replies
View Related
Jan 24, 2010
if you do the command conky in terminal, it starts conky ofcourse, but it also shows output to that terminal so you can't do any other commands to that terminal, Is their an option like you can do with the '&' sign in other cases? If you do the '&' sign with conky it still gives output, also the conky -d command gives output...
View 9 Replies
View Related
Jun 24, 2010
I've just spent the past two days trying to figure out how to convert an NRG image to BIN/CUE format. I've found all kinds of info on how to convert it to ISO. I've tried lots of different packages (K3B, Brasero, AcetoneISO...). No luck.
My NRG is an image of an old DOS game I want to play in DOSBox. The catch is that it's mixed-mode, so converting to ISO is not a possibility. DOSBox will mount BIN/CUEs, so that seems the route to go. But while K3B supports creating mixed-mode CDs, it doesn't read NRG images. And while AcetoneISO will mount the NRG, only the data track is accessible; the audio tracks aren't.
View 1 Replies
View Related
Feb 19, 2010
I'm using dual-screen output with KDE 4.4 on my laptop. Is it possible to have the KDE panel on the external monitor if attached and back on the laptop's LCD panel as soon as the monitor is disconnected?
It seems that Plasma prefers the built-in LCD even if an external monitor is connected. I tried various settings with xrandr and also in the System Settings but none of them helped. The only way to move the KDE panel to the external screen is to disable the built-in LCD.
What I would basically like to do is to use the external monitor as primary in the office and the laptop LCD next to it as a second screen. When I'm traveling I'd like to use only the laptop LCD.
Is there also a nice way to switch between the screens? On the Internet I found a script for the "screen switch" key for IBM Thinkpad and modified it to work on my Dell. But it would be nice to have this also automatic: autodetect the monitor attachment/removal and perform a configured action. The KRandr doesn't seem to have such a feature. Is there anything I could use?
My system is: Kubuntu 9.10 with KDE 4.4 upgrade. Hardware: Dell Inspiron 1545 with Intel GM45 card.
View 3 Replies
View Related
May 2, 2010
My connection manager shows wired connections and shows wireless as being disabled. here is some terminal info getting wireless going?
Here is a bunch of things I have tried and the results.
nixon@nixon-desktop:~$ sudo ifup wlan0
Ignoring unknown interface wlan0=wlan0.
nixon@nixon-desktop:~$ sudo ifdown wlan0
ifdown: interface wlan0 not configured
[Code].....
View 9 Replies
View Related
Jan 8, 2010
I'm encountering a strange problem. I need to open and forward all UDP and TCP ports related to VoIPtelephony (5000:32000) in the Suse 11.1 server that's acting as router/firewall in our setup. The ports must redirect to a Asterisk server in the local network. (This server has the IP adress 192.168.0.3)I've opened ports in Yast (Firewall>Ports>Advanced) and putted in some masquerading rulesirewall>Masquerading):0/0,192.168.0.3,tcp,5000:31000,5000:310000/0,192.168.0.3,udp,5000:31000,5000:31000when I do a nmap localhost I get:Starting Nmap 4.75 at 2010-01-08 16:52 CETInteresting ports on localhost (127.0.0.1):
Not shown: 991 closed ports
PORT STATE SERVICE
21/tcp open ftp
[code]....
View 9 Replies
View Related
Apr 22, 2011
Both my printers can't print more that one page on the row whatever the application I use.
I used to have a all-in-one printer HP PSC 1510 that I installed without any trouble.
A few days ago, I've got another scanner-printer HP 1050 that I tried to install on the same laptop in order to use it in another place. I had to take the new version of HP-lip, since 11.3 did not provide the right driver. I just printed the test page and it seemed okay.
Then, I upgraded from 11.3 to 11.4. And I had to print a long document. Only the first page was displayed correctly. All the following pages are more and more mixed up. It prints allways the same paragraph with big dark lines...
Following to cup, the drivers in use are :
Deskjet_1050_J410 : HP Deskjet 1050 j410 Series, hpcups 3.11.3a
PSC-1500-series : HP PSC 1500 Series, hpcups 3.10.2rc1.9
But the trouble is the same for both printers.
I can't guess if it comes from HP-lip or from my upgrade.
View 9 Replies
View Related
Apr 21, 2010
When the summer-holidays are a fact and it's time for some fun I will be upgrading my home network with a diskstation of some kind, and since all models I currently looks at supports 10/100/1000 M/Bit networking it got me thinking.
My desktop also supports 10/100/1000 M/Bit networking and since I already uses a 10/100 M/Bit switch between my desktop and (file)server, it would be very easy to buy a new switch that also supports 1000 M/Bit networking and then connect the diskstation to that switch as well. But the router the new switch will be connected to is only running 10/100 M/Bit so the question is, at what speed will the new switch be running?
View 6 Replies
View Related
Nov 6, 2010
I have a Dell 17R Dual Booted with Win7 and Ubuntu 10.04.I had problems getting online via Wired and/or Wireless.Ubuntu 10.10 is up, running, and updated. Broadcom Corp 4727rev 01 Wireless not detected [URL].The solution involved the installing of Ubuntu 10.10. However, now after a complete shut down I cannot boot into Win7 anymore. The boot loader recycles to the selection screen and I can go back to Ubuntu 10.10 but not Win7.
View 6 Replies
View Related
Jul 23, 2011
So this guy brought a CD full of crap (audio, picture, documents) and wanted to view the content. Ubuntu mounted it but said it was a blank CD. I think Ubuntu has some problems handling CD with mixed contents based on googling, I found some several years old bug reports and threads, but they either get closed without answers or just died because no one cares to respond.
View 1 Replies
View Related