LVM boot issue?
by Dave Stevens
I have a workstation with 2 Seagate SATA drives, the older a 320 with
F7 and data, now used for backups, and a current 640G with F14.
Recently the F14 has refused to boot. I am able to boot F7 from the
older drive but not to much effect, it is so far out of sync with my
work that it's pretty much useless.
At boot time on the F14 drive I get:
3 logical volume(s) in volume group "VolGroup00" now active
2 logical volumes in volume group "vg_davehost" now active
[OK]
Checking filesystems
/dev/mapper/vg_davehost-lv_root contains a file system with errors,
check forced.
/dev/mapper/vg_davehost-lv_root: [spinner for progress %]
Then at some time [around 2.5% checked] the system reboots back into
the same situation and the sequence repeats.
I have booted from a F16 live CD and can see the data on the drive but
can not seem to get enough access to copy off the data or get around
the check or get the check to correct the error. Also I don't know the
result of the check and don't see how to get more info. I can verify
that the drive is /dev/sde and that sde2 has my data, but I don't know
how to mount it in a readable way even though nautilus apparently
does. As liveuser I haven't enough access to see my data or move it.
Suggestions? References?
Dave
--
It is told that such are the aerodynamics and wing loading of the
bumblebee that, in principle, it cannot fly...if all this be
true...life among bumblebees must bear a remarkable resemblance to
life in the United States.
-- John Kenneth Galbraith, in American Capitalism: The Concept of
Countervailing Power
12 years, 4 months
RPM creation
by Stephen Berg (Contractor)
I'm attempting to create an rpm that will install some locally generated
and maintained scripts, configs, etc. All the tutorials I've found so
far seem to key in on having a source package tarball and compiling code
and all that entails. I just need to package some simple scripts and
whatnot so installing and updating them on the systems I maintain will
be a little bit easier.
Does anyone know of a tutorial on creating a simple rpm package that
basically just copies a few files into specified locations?
--
Stephen Berg
Systems Administrator
NRL Code: 7320
Office: 228-688-5738
stephen.berg.ctr(a)nrlssc.navy.mil
12 years, 4 months
fan control in F16 (KDE)
by linux guy
I've got an XPS17. (i7, 16 GB, nVidia 555, etc.)
I'm running F16. It works well.
My XPS17 will sit perfectly quiet for a minute or more while I'm
working. But then the fan will cut in for 10-15 seconds and its
pretty loud. I find it annoying.
What I would rather have is the fan running at a low level all the time.
What is the easiest way to set this up in F16/KDE ?
Thanks
PS; it seems like a silly question AND if you google there is lots of
talk about fancontrol, etc. However, I was about to embark on a bunch
of ACPI scripts prior to asking the list about how to disable the lid
switch and then decided to ask the list. Lo and behold, it could be
done in KDE without any scripting at all. I'm in the same boat with
this question.
12 years, 4 months
Thank god for chkconfig still being somewhat workable in Fedora 16....
by Kevin Martin
I've been setting up a VirtualBox guest (Fedora 16) with no X and was having problems figuring out how to get the stupid network
card to come up (p2p1) on reboot. I created all of the necessary /etc/sysconfig/network-scripts files but still, no joy. Couldn't
figure out how to get it to start at default target runlevel3. Chkconfig --level 3 network on setup the following files in
/lib/systemd/system/multi-user.target.wants directory:
dbus.service
getty.target
plymouth-quit.service
plymouth-quit-wait.service
rc-local.services
systemd-ask-password-wall.path
systemd-logind.service
systemd-user-sessions.service
What a big bunch of links to have setup! I hope that somebody, when chkconfig is no longer installed by default, has an equivalent
type command to enable networking when there's no X windows available! Who would know that this is the base set of links that need
to be made to make networking work without NetworkManager? And how many more of these types of "services" are there that require
multiple, seemingly unrelated files to be linked to make them work? What a nightmare!
Sorry, just ranting.
Kevin
12 years, 4 months
f15-f16: how to clean 'df' command
by Dario Lesca
For clean df command...
$ sudo -i
# echo "alias df='df -x tmpfs -x rootfs -x devtmpfs'" > /etc/profile.d/df.sh
# exit
This work for me, hope this help
--
Dario Lesca
(Inviato dal mio Fedora Linux)
12 years, 4 months
Only desktop wallpaper after login F15
by Freak Trick
Yesterday, I installed F15 from Live CD (downloaded around May release of the version). The first run was fine and I was able to install all usual applications - Chrome, Audacious, VLC, gcc, gcc-c++. Next morning, when I started the machine, I could reach up to the login menu and login successfully, thereafter the screen only had the default F15/Gnome3 wallpaper and the mouse cursor; nothing else would appear. Not even the task bar. Only keys which were being responded to where Ctrl+Alt+Del giving a logout dialog.
I formatted and reinstalled. Again it worked fine the first time. But next boot gave the same problem. Moreover without being able to access the desktop, I am short of ideas to do anything to resolve the problem.
Any workarounds?
12 years, 4 months
yum commands at reboot
by Frank Murphy
Suggestions for improvement welcome.
For a particular test machine.
1: crontab -e
@reboot yum --randomwait=5 clean metadata | yum --randomwait=10
createrepo /my/local/repo
2: or:
@reboot yum --disablerepo=local --randomwait=10 clean metadata
I think no. 2 looks the tidier.
I don't want to test until, some feedback. Just in case.
--
Regards,
Frank Murphy
UTF_8 Encoded
12 years, 4 months
How to debug sleep problem?
by Konstantin Svist
Hi all,
I'm having a problem getting a machine to sleep when I set an IR
receiver to allow to wake it.
# for x in USB0 USB2 US12 US15; do echo $x > /proc/acpi/wakeup
# echo enabled > /sys/bus/usb/devices/3-1/power/wakeup
When I make it sleep, all I get is black VT screen with a blinking
cursor. If I don't do either of the above commands, sleep works just
fine. I've already enable wake-from-USB in BIOS.
I've tried doing the same thing on my laptop and everything is working -
both sleep and wake from IR dongle.
So, how do I go about debugging this problem?
Thanks
12 years, 4 months
PDF viewer with 'postits'
by Robert Moskowitz
I am looking for a PDF viewer that will allow me to maintain 'postits'
so I can go through multiple points in reading a document.
In particular, when I am reading an 802 standard pdf, I am bouncing back
and forth between multiple pages to get the information I need. If I
can put 'postits' on the pages I need so I can easily go between them,
it would improve my reading experience.
Right now I am trying to extract from 802.15.7-2011 how Command
Information Elements work and that is ~5 pages across the document.
12 years, 4 months
preupgrade, F15 -> F16 anaconda hangs.
by linux guy
I'm upgrading my XPS17 laptop from F15 x64 KDE to F15 via preupgrade.
Preupgrade ran fine.
It reboots fine.
After a bit, I get a blue screen with "Running anaconda 16.25, ... -
please wait." at the bottom.
ctrl alt F2 give me a command line in a new session.
"top" shows 0%s all the way down for CPU and memory, except for a blip
for systemd once in a while.
I don't see any obvious problems using dmesg. I do have a few "md:
raid personality registered for level X" messages, which surprises me.
The laptop is equipped with a single 160 GB SSD drive. It is NOT dual
boot, it is Linux only.
How do I fix this problem ?
12 years, 4 months