Debian Configuration :: Lsblk Shows Non-existent Md Partitions After Reboot

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


ADVERTISEMENT

Ubuntu Installation :: Upgrade 10.04 -10.10 Freezes On Reboot - Checking Non-existent Battery

Oct 11, 2010

I did normal net upgrade after the official release of 10.10 yesterday evening. On reboot I get a frozen system with a blank screen. Checking via safemode, I find it is stuck when 'checking battery state' but this is a desktop machine! Apt update, uninstalling ubuntu-desktop, reinstalling ubuntu-desktop, etc.

View 9 Replies View Related

Debian Configuration :: Reboot Both The Server And The Client Machines Every Time Change The SAMBA Configuration?

Apr 5, 2010

I am *finally* getting around to rebuilding my file-sharing computer. I'll be sharing files with both Linux and Windoze machines. It's a home network, so there's nothing fancy needed. I know I have to tweak my smb.conf file until I'm satisfied with the features and security. I'm using SWAT and I'm starting with a bare-bones conf file. It's not secure but I can see the server and selected files/directories from my other Linux box.

My really dumb question is, do I have to reboot both the server and the client machines every time I change the SAMBA configuration? I thought I just had to stop and restart the SAMBA service in the SWAT software - but then the server disappears from my client. It looks like I need to reboot both machines for the client to see the server.

View 1 Replies View Related

Fedora Security :: Invalid XINETD_CONF_PATH Configuration Option - Non-existent Pathname

Mar 10, 2010

i install from

yum install rkhunter

rkhunter 1.3.6-4.fc12

Invalid XINETD_CONF_PATH configuration option - non-existent pathname

View 2 Replies View Related

Fedora Security :: Invalid XINETD_CONF_PATH Configuration Option - Non-existent Pathname Specified: /etc/xinetd.conf?

Mar 24, 2010

I'm just trying to figure out what is going on with FC12
Here is the error:

[root@localhost bigmac]# rkhunter --check
Invalid XINETD_CONF_PATH configuration option - non-existent pathname specified: /etc/xinetd.conf

View 1 Replies View Related

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 View Related

Debian Configuration :: Samba Shows In Port Scans

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

Debian Configuration :: Fresh Install Shows Udev Failure ?

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

Debian Configuration :: No UUID For Some Partitions?

Jun 15, 2010

I have two encrypted partitions which I cannot find UUID numbers for.

/etc/crypttab looks like this:

[Code]....

and *sometimes this works, other times I have to edit the file and /etc/init.d/cryptdisks restart.

Obviously I should use UUIDs here and in fstab but blkid does not list those partitions

[Code]....

View 4 Replies View Related

Debian Configuration :: Mixing Partitions In RAID 5

Mar 21, 2011

I have 2x 1.5TB hard disks and I'm going to buy a new 2TB drive soon. First though I just wanted to check that I could partition off the first 1/4 to 1/3 of the 2TB drive (leaving 1.5TB or more free) and install Debian to that part, then use the remainder of the disk in combination with the 2x 1.5 TB drives in RAID 5? i.e. can you mix whole drives and with partitions from other drives in RAID 5 and/or is it best to just stick with complete drives for the RAID array?I only have room for 3 drives in the small mATX case that houses my NAS device and I want to maximise storage capacity and minimise expense.

View 2 Replies View Related

Debian Configuration :: Broadcom 43225 On Acer Timeline - Wireless Shows As Disabled

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

Debian Configuration :: No Internet Connection After Reboot

Feb 20, 2016

I rebooted my vServer (Debian 8) and it doesn't came back up. Well, I used the rescue console on my server and the server seems to be running fine, except the network was broken. So I tried 'ifconfig' but nothing came up. So I tried to enable my interface with 'ifconfig venet0 up', and now it appears in my ifconfig list

Code: Select allroot@i67svof:/var/www# ifconfig
venet0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
          RX packets:557 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:36463 (35.6 KiB)  TX bytes:0 (0.0 B)

My HWaddr doesn't look that well :) 'ip addr' prints this result:

Code: Select allroot@i67svof:/var/www# ip addr
1: lo: <LOOPBACK> mtu 65536 qdisc noop state DOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: venet0: <BROADCAST,POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN

These are the last lines in /var/log/syslog:

Code: Select allroot@i67svof:/var/www# tail /var/log/syslog
Feb 20 11:34:16 i67svof systemd[1]: Stopping memcached daemon...
Feb 20 11:34:16 i67svof systemd[1]: Stopping Network Name Resolution...
Feb 20 11:34:16 i67svof systemd[1]: Stopping Regular background program processing daemon...
Feb 20 11:34:16 i67svof systemd[1]: Stopping Login Prompts.

[Code] .....

And finally my network config in /etc/network/interfaces

Code: Select all# Auto generated lo interface
auto lo
iface lo inet loopback
# Auto generated venet0 interface
auto venet0

[Code] .....

View 1 Replies View Related

Debian Configuration :: Openssl Update Reboot Necessary?

May 3, 2016

Is it mandatory to reboot a public server after upgrading openssl? Or is it sufficient to restart the services?

View 2 Replies View Related

Debian Configuration :: Lenny Cannot Survive Reboot

May 9, 2010

If I reboot my machine, the interface is down. How do I set the interface so it will start after I rebooted the machine?How do I do it in Debian?

View 3 Replies View Related

Debian Configuration :: Firestarter Won't Work On Reboot

Dec 7, 2010

I have installed Firestarter, and set it up following some manual (just a simple, baseline setting, nothing fancy). However, after restart I got error message: Starting the Firestarter firewall... failed! and then, later: startpar: service(s) returned failure: firestarter ... failed! Why this happens?

View 4 Replies View Related

Debian Configuration :: Resizing Partitions - Put To The Root Partition

Jan 23, 2016

Is there a way where I can take like 50GB from my home folder (I have 375 avail., but using only 22GB) and put it to the root partition? Twice now my system has almost ran out of space on root, so luckly I was able to clear out old stuff so I don't have login issues after finding the hardway the first round lol. I just want to make sure I can login with out being forced back out because root don't have space to let me login.

View 11 Replies View Related

Debian Configuration :: LVM Partitions Not Getting Mounted At Boot Time

Apr 18, 2010

I have two partitions in LVM. They are added in /etc/fstab to mount automatically. But, they are not working. The process to mount partitions seems to be happening before the service /etc/init.d/lvm2 is started. I can get it mounted using "mount -a" command, but not during the boot time. What should I do get it automatically mounted on every boot?

View 5 Replies View Related

Debian Configuration :: Squeeze: Hiding Partitions In Nautilus?

Jan 23, 2011

how to hide an unmounted partition from the nautilus right side panel?

for lenny an hal policy did the trick, but it does not seem working with squeeze anymore...

View 1 Replies View Related

Debian Configuration :: Can't Mount Device/partitions With Slim Or Xdm

Jun 28, 2011

I have Debian Testing. I am testing XFCE and LXDE and i want to use display manager other than GDM. I have tried SLIM and XDM but when i use them i can't mount partitions and USB through Thunar, PcMan or Nautilus - i get message that i am not authorized (if i do groups in terminal - adm dialout fax cdrom floppy tape audio dip video plugdev games fuse powerdev netdev lpadmin scanner sambashare). When i install GDM everything works fine. I have installed FUSE, HAL, Udev,...I have tried a lot of stuff from AcchLinux forums but nothing worked really.

View 4 Replies View Related

Debian Configuration :: Jessie Will Not Reboot On Remote Server

Jun 27, 2015

Upgraded webserver to Jessie as an upgrade to Wheezy produced errors, and before reboot everything was up and running, but as all upgrade docs and info I read, I rebooted the server. However it never came back. I have the original backup files before I did the Wheezy upgrade. I also have access by Rescue to the server.Made a back up of critical files and have a 24GB tar file and I can connect by SFTP.

how to check the Debian files... Grub etc.. I would prefer to find the issue than start again.I am not able to sudo from Putty. I cannot run apt-get update. I did go to chroot, but then I get unable to resolve host errors and Could not open lock file because Permission denied errors and asking if I am root.There is information by googling for start up issues, but as I am working remotely with a Rescue set up, a lot of the commands I see and have tied do not work.

View 3 Replies View Related

Debian Configuration :: Wrong Name For The Wireless Card On Reboot

Feb 17, 2016

A couple of days ago I asked why my pc changes the wireless card name.It switches between AR9285 ( right) and AR5008 ( wrong). Well, it is not the case. When system identified with AR9285,it loads ath9k and I can connect to the router. When system identifies my card as AR5008, no kernel module is present at all ( lspci -k). The wrong card name occurs only when system rebooted. If I gracefully shut down the system, it always comes up with a right name for the card( AR9285). So, how to force the system identify my card right no matter if I reboot or shut down?

View 1 Replies View Related

Debian Configuration :: Default Gateway Lost After Reboot?

Jul 14, 2010

after a reboot of my Lenny system, the default gateway will lost. Then i must try "networking restart" and the gatway will be set

my interfaces looks :

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback

[Code].....

View 1 Replies View Related

Debian Configuration :: Broken Trash From Fstab-partitions In Nautilus

Jan 21, 2016

On my system nearly all subfolders of my home-directory are on another hard drive. I included them via /etc/fstab as shown in the example below:

UUID=12c12565-ece4-4a22-b5c5-275aba1a3fd4 /media/data ext4 defaults 0 2
/media/data/archive /home/XXX/archive none bind 0 0
etc.

View 1 Replies View Related

Debian Configuration :: Computer Reboot Automatically Each 4 Hours 30 Minutes

Jul 30, 2015

I've an Blade 1500, sparc64 IIIi with 2 hard disks and 2go of RAM. The computer run with debian 7.7.0 and BSD (opensxce) for each hard disks.

1/ When it's run under BSD there are no problems, the uptime are on many hours.
2/ when it's run under debian with XFCE x-window, the uptime is 4 hours 30 minutes and computer reboot automatically !

Into the control panel i've deactivate the hibernation, screensaver and power management ! I want to find the files for manage the time down. I think that the problem is in XFCE window manager.

View 0 Replies View Related

Debian Configuration :: Jessie Upgrade Ssh Command Line Reboot

Nov 13, 2015

I've upgraded a server on our LAN from fully functioning Wheezy to Jessie. All seems fine except remote administering using Putty from my windows workstation when issuing reboot from command line, it goes down and reboots but stops at login prompt asking for username and password and does not come back on the LAN network. This server does not normally have a monitor or keyboard so my ability to remote admin this server in effect is disabled.

If I log on, it will come back on the LAN network. I've checked the logs but can't see any errors. Is it in the configuration of Jessie somewhere or perhaps a Grub issue. I have 5 other production Wheezy servers that I intend to update to Jessie once I understand how to deal with this problem.

View 4 Replies View Related

Debian Configuration :: No Network After Reboot Of Scratch Install Of Jessie

May 2, 2016

I've been using various distros of Linux for over 20 years - but I'm stumped.

Was running Mint. But after taking an update a few weeks ago the network stopped working. After a lot of time and effort decided to give up on Mint and switch distros to Debian 8 Jessie.

But after changing the Network settings from default DHCP to my usual IPV4 static 10.net configuration and rebooting the network will not work.

I have several systems on a 10.100.0.0/16 LAN behind another Linux system acting as firewall/gateway.

Now, after about 7 hours of mining the Internet, I still can't get basic networking to work:

- Have tried a few combinations, with and without Network Manager and eth0 in interfaces
- /etc/network/interfaces is configured with a static IP and relevant parameters
- ifconfig shows eth0 and the correct information
- netstat -rn shows the basic default route to the gateway
- have tried with IPV6 enabled and disabled; it is not used on my LAN

The box is a desktop system, ASUS Maximum VI Formula mobo with onboard Ethernet, dual GTX 780 cards. Nothing very weird.

It all LOOKS right, but ping can't get off the box "destination unreachable", and no other system on the LAN can ping it.

I'm amazed a basic static IPV4 network setup completely breaks it. This is my main workstation - a dual-boot system where Windows runs fine - so it's not hardware.

EDIT: This has been solved. See the solution post: [URL]

View 14 Replies View Related

Debian Configuration :: Ksplice Uptrack That Update Kernel Without Reboot?

Feb 12, 2010

A few days ago on my rss reader, I have read article about Ksplice uptrack that check updates for kernel and update kernel without reboot!

View 1 Replies View Related

Debian Configuration :: Clock Readjusted After System Crashed - Cannot Reboot

Dec 20, 2010

I have recently come across a Debian installation page for powerpc: viewtopic.php?t=20481. It got me motivated to fix the Debian I have on my iBook G4. I have a Debian Lenny installed on my iBook G4 -- but I have been having some sort of problem (mostly likely due to hardware) which causes the system to crash. After the latest crash, the clock on iBook has been readjusted. For this reason, I cannot reboot Debian completely.

Every time I turn on the computer it begins the booting process but before I get to my desktop I encounter numerous error messages concerning my clock. After either OK'ing or canceling these error messages, I get to my desktop but the system by then is either frozen or else not working at all. Worse, I can't even turn off the computer since the upper right corner of the desktop is completely blank and I have no menu to turn off or reboot the system.

It took this computer to a local Apple store and they ran many different hardware diagnostic tests on it. They concluded there's "technically" nothing wrong with the computer. But they said although the system has successfully passed all hardware tests, there may still remain some complicated but slight hardware glitch/es which the hardware diagnostics could not pick up.

View 4 Replies View Related

Debian Configuration :: Ssh Doesn't Work After Sending Reboot Command

May 2, 2011

last week while I was using ssh to the computer1 inside a NAT as usual, I made another tunnel from the computer1 that I was connecting to, to another computer2 inside that NAT (ssh 192.168.1.130) and after making some changes in computer2 I typed reboot. The computer2 rebooted but the tunnel totally hung and I had to kill it in my laptop. Since that day I haven't been able to ssh to the computer1 as I am used to.

Here is some more information:

debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Offering public key: /home/une/.ssh/id_rsa

[code]....

View 3 Replies View Related

Debian Configuration :: File Share Unavailable From A Reboot Until Restart Samba

Jul 3, 2011

I am having slight issue with setting up file sharing. I have a windows 7 pc and hp proliant microserver running. I have a raid array which I am using as a share for storing music, pictures etc. When I reboot the debian server I can't connect to the server from the windows 7 PC (I have mapped a network drive) until I go on to the server and restart samba with /etc/init.d/samba restart - then everything works fine. I can ping the server with both ip and hostname but the network drive does not connect - this is straight after a reboot. Is the /etc/init.d/samba restart doing something differently to when the server boots? I have read several posts relating to printer sharing issues which point to samba not starting before cups so I am wondering if samba is starting before some of the relevant networking services.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved