Reputation
30,894
Next tag badge:
106/100 score
19/20 answers
Badges
3 52 101
Impact
~1.3m people reached

15h
comment Unknown filesystem type 'LVM2_member'
Sounds like you need a vgchange -ay
17h
comment Wheezy to Jessie update broke root software RAID, can it be fixed?
@MaurolepisDreki OK, I'll convert my comments to an answer. Please report the image upload error as a bug (along with browser/OS/etc. details, steps to reproduce, etc.) on Unix & Linux Meta.
17h
comment Unknown filesystem type 'LVM2_member'
@Zaher how were these drives configured? Were they mirrored? If not, are there multiple logical volumes, such that you might fully have some (as opposed to half of a large LV)? Do you have /etc/lvm/backup/* from before it failed? What does pvck /dev/sdc1 say? (Also: keep that failed disk! You will want it if you decide the data is worth enough to pay for data recovery services.)
18h
comment Unknown filesystem type 'LVM2_member'
You've got potentially half a filesystem; that's not mountable. You need the other drive as well, and you need to start LVM and then mount the LV. Please explain how you got to this situation and what you're trying to do.
19h
comment Change Partion Drive Space
Looks like you're using LVM. Could you please include the output of pvs and lvs?
May
20
comment Connectivity issues after updating to Debian Jessie
@techie_28 OK, if it was just from having "stable" instead of "wheezy" in the sources.list, you shouldn't have a weird mix of versions. The permission denied is because that's a text file—look at it with less or even cat, don't try to run it. apt-show-versions will tell you which release each package comes from. But I think you're fine on that front as long as you're not showing any upgradeable or obsolete packages. And followed stuff in the release notes about, e.g., cleaning up old config files.
May
20
comment Connectivity issues after updating to Debian Jessie
@techie_28 A live disc won't reinstall your machine as long as you don't run the installer. And you need to check more than /etc/debian_version—you might still have a mix of wheezy and jessie, or worse depending on what used to be in your sources.list.
May
20
comment Connectivity issues after updating to Debian Jessie
Is your network configured via /etc/network/interfaces, NetworkManager, or something else? Also, could you use apt-show-versions (or whatever) to confirm you're actually running Jessie versions of everything? Finally, if possible, I suggest trying a Debian Live disc, to see if its something weird about your unplanned upgrade vs. a bug in Jessie.
May
19
comment How to use same library more than once in Name Service Switch (NSS)
@StéphaneChazelas I think sssd is intended to work with one authoritative LDAP system, where all the LDAP servers it talks to have the same data. OP seems to want multiple servers with different data, and some lookups to go against server1 and other lookups against server2.
May
19
comment How to use same library more than once in Name Service Switch (NSS)
Wow, surprised that worked—don't they try to read from the same configuration file? Or did you change the config file name as well?
May
18
comment Move Root Folders to DRBD
I'll note also that package management becomes much more difficult if you share stuff between machines—the package manager state is in /var (probably not shared), and you have to figure out how to keep it in sync with what's really installed...
May
18
comment apt-get autoremove removes important packages
@shivams no, it should be the output of some aptitude command, since OP said "aptitude wants to auto-remove"...
May
18
comment How to reduce ext4 rootlv on centos 6
BTW: lvreduce -r actually does steps 3 and 4, not just 4.
May
17
comment What data transfer / write speeds are to be expected for a badblock destructible write test?
BTW: I suggest iostat -kx 10 as a nice way to monitor I/O.
May
17
comment How to reduce ext4 rootlv on centos 6
Please also give the full commands you're running, so someone can check for mistakes in them.
May
17
comment How to reduce ext4 rootlv on centos 6
Ok, those steps would work on a KVM/Debian setup, at least if done from the initramfs (can't resize a mounted partition). I'm pretty sure they'd work with KVM/CentOS as well, though I haven't done that. I'd guess it's something different with the way VirtualBox is booting from the image. I suggest editing the details from these comments in, and hopefully someone who has dealt with CentOS on VirtualBox will stop by.
May
17
comment How to reduce ext4 rootlv on centos 6
To be clear, you're resizing a logical volume inside the VM, not outside the VM, correct? That is, not the backing device storing the entire VM image?
May
17
comment How to reduce ext4 rootlv on centos 6
Well, for one thing, use lvreduce -r, that avoids the risk of accidentally passing different sizes to resize2fs and lvreduce. Other than that, how are you booting this system? Odd you'd get a POST error...
May
17
comment Convert perl to shell/bash
(Honestly, that code is a weird mix of obsolete-for-a-decode constructs, "don't really know Perl, but it worked...", and an occasional part that's done right.)
May
17
comment Convert perl to shell/bash
Your example line is part of the boilerplate for using POE, a cooperative message-passing framework for Perl. Explaining how that works is well beyond the scope of a Unix & Linux question (or a Stack Overflow question). Thankfully POE has documentation.