Auto suspend/spin-down idle disk
by John Obaterspok
Hello,
I have a SSD disk as system disk and a:
- HDD as backup drive that is used a couple of times each week
- HDD as media disk that is perhaps used a couple of times each day
I've tried to set the spindown to 1 hour of being idle via gnome-disks.
Problem is that it never spins down.
- I've verified that it spins down via hdparm -y /dev/sda
- I've also set the smartd check interval to 5h (smartd_opts="--quit never
--interval=18000") in /etc/sysconfig/smartmontools
- Disks are mounted with "type ext4 (rw,relatime,seclabel,data=ordered)"
Any hints on how I get the disks to spin down?
-- john
10 years, 4 months
Re: fedora update
by Patrick Dupre
> ----- Original Message -----
> From: Rahul Sundaram
> Sent: 12/29/13 04:39 PM
> To: Community support for Fedora users
> Subject: Re: fedora update
>
> Hi
>
>
> On Sun, Dec 29, 2013 at 10:36 AM, Patrick Dupre <pdupre(a)gmx.com> wrote:
>
> > Hello,
> >
> > I burnt a DVD fedora 20 to update my distro.
> > However, it fails the test at 12.6%.
> > It there a risk to make an update using fedup?
> > I always have the option to download a package which may
> > be damaged.
> >
>
> If you are upgrading via fedup, then the network option is the recommended
> one and you don't have to use any media at all.
Of course. However, I only have a 3G+ connection!!!
> https://fedoraproject.org/wiki/FedUp
>
> Rahul
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===========================================================================
10 years, 4 months
gnome-terminal in F20 defaults to / for the initial directory
by Sam Varshavchik
That's pretty much it. After upgrading to F20, launching gnome terminal
starts a shell with its current directory of / instead of $HOME. Very
annoying.
gnome-terminal appears to inherit the parent process's home directory. If I
launch gnome-terminal from another terminal window, the new shell's initial
directory is the parent's. Curiously, the shell's parent process is gnome-
terminal-server, whose current directory is $HOME.
going on.
The likely explanation is that I'm launching new gnome-terminal session from
a desktop icon (since Gnome 3's brain damaged "Activities" screen always
moronically activates one of the existing terminal windows, instead of
creating new terminal session), and I see that the nautilus process's home
directory is /, I guess that's what's going on, but I still just want to
have my new shells come up in $HOME by default.
10 years, 4 months
selinux=0
by Patrick Dupre
Hello,
After cloning a distribution fedora 19, I have to set selinux=0
to be able to boot.
How can I do to avoid this option?
I tried:
fixfiles relabel
system-config-selinux
But I never get a relabelling!
What should I do?
Thank.
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===========================================================================
10 years, 4 months
Re: failed to ..
by Patrick Dupre
Thank again,
Now, What should I do to not have to set anymore selinux=0?
> Subject: Re: failed to ..
>
> On Sat, 28 Dec 2013 16:28:33 +0100, Patrick Dupre wrote:
>
> > (I did not have a rsync command on the gparted live distribution that I have)
>
> Does its "cp" command copy SELinux file contexts?
>
> > And I get always the same behavior:
> > failed to start .......
> > create static device modes in /dev
> > journal service
> > open pack file: permission denied
>
> Is this with SELinux enforcing or permissive or disabled?
> --
> users mailing list
> users(a)lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===========================================================================
10 years, 4 months
Re: failed to ..
by Patrick Dupre
Thank you very much.
It was the point.
> Subject: Re: failed to ..
>
> On Sat, 28 Dec 2013 16:28:33 +0100, Patrick Dupre wrote:
>
> > (I did not have a rsync command on the gparted live distribution that I have)
>
> Does its "cp" command copy SELinux file contexts?
>
> > And I get always the same behavior:
> > failed to start .......
> > create static device modes in /dev
> > journal service
> > open pack file: permission denied
>
> Is this with SELinux enforcing or permissive or disabled?
> --
> users mailing list
> users(a)lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===========================================================================
10 years, 4 months
Re: failed to ..
by Patrick Dupre
Hello,
I did follow for the 4th times the Chris's recommendations:
mount /dev/mapper/root1 /mnt/linux1 -o ro
mount /dev/mapper/root2 /mnt/linux2
cp -a /mnt/linux1/* /mnt/linux2
cp -a /mnt/linux1/.readahead /mnt/linux2
cp -a /mnt/linux1/boot /mnt/linux2
(I did not have a rsync command on the gparted live distribution that I have)
mount -B /run /mnt/linux2/run
mount -B /proc /mnt/linux2/proc
mount -B /dev /mnt/linux2/dev
mount -B /sys /mnt/linux2/sys
chroot /mnt/linux2
vi /etc/fstab (to change to the new partitions labelling)
dracut -f /boot/initramfs-3.12.5-200.fc19.i686.PAE.img
grub2-mkconfig -o /boot/grub2/grub.cfg
Then I modify the original /boot/grub2/grub.cfg to get the booting on the
clone without modifying the mbr (grub2-install)
And I get always the same behavior:
failed to start .......
create static device modes in /dev
journal service
open pack file: permission denied
In my opinion, I need to do something else, but what?
Thank.
>
> On Dec 27, 2013, at 6:55 PM, "Patrick Dupre" <pdupre(a)gmx.com> wrote:
>
> > the cp -a /boot_cloned and /boot_clone (when partition not active).
>
> I don't follow this. You used cp /dev/sda /dev/sdb? Device to device? Or you specified directories to copy? I've had cp -a of directories not work, in particular it misses hidden files unless you explicitly copy them. I've had better luck with rsync. And I've had impressively good luck with btrfs send/receive, that's a cake walk, and fast.
>
> Chris Murphy
>
> --
> users mailing list
> users(a)lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===========================================================================
10 years, 4 months
Re: failed to ..
by Patrick Dupre
Hello Chris,
More information. This what I get until the first FAILED
kvm: disabled by bios
started Configure read-only root support
Starting Load Random Seed
Started Load Random Seed
scsi
sd
sd [sdb]
World regulatory domain
(start_freq - end_freq @
Calling CRDA for country
systemd-udevd[390]: renamed
[ OK ] Found device ST9500420AS
Activating swap /dev/disk/by-uuid/026838a7-740a-4630-bb7d-b8b7e74657c0
Adding 3077840k swap on /dev/sda5
[ OK ] Activated swap /dev
[ OK ] Reached target Swap
[ OK ] Started Monitoring of LVM2 mirrors,
[ OK ] Found device ST9500420AS
Starting File System on /dev/sda16
[ OK ] Found device /dev/mapper/VolGrpSys3-usr_src
Starting File System Check on /dev/mapper/VolGrpSys3-usr_src
[ OK ] Started File System on /dev/sda16.
[ OK ] Started File System on /dev/mapper/VolGrpSys3-usr_src
Mounting /usr/src....
Mounting /boot
[ OK ] Found device /dev/mapper/VolGrpSys3-tmp.
Starting File System Check on /dev/mapper/VolGrpSys3-tmp.
Mounting FUSE Control File System
[ OK ] Mounted FUSE Control File System
[ OK ] Mounted /usr/src
EXT4-fs (sda16): mounted
[ OK ] Started File System on /dev/mapper/VolGrpSys3-tmp.
Mounting /tmp
[ OK ] Mounted /boot
[ OK ] Mounted /tmp
[ OK ] Found device /dev/mapper/VolGrpSys3-usr_local
Starting File System Check on /dev/mapper/VolGrpSys3-usr_local
Mounting /usr/local
[ OK ] Found device /dev/disk/by-uuid/225d0e0d-3fd0-4757-88be-ae4862470358.
Starting Cryptography Setup for luks-225d0e0d-3fd0-4757-88be-ae4862470358..
[ OK ] Listening on Journal Service...
[FAILED] Failed to start Journal Service.
See `systemctl status system-journal.service' for details.
The crypted partition is the /home
What do you think?
Thank.
> ----- Original Message -----
> From: Chris Murphy
> Sent: 12/28/13 08:13 PM
> To: Community support for Fedora users
> Subject: Re: failed to ..
>
> On Dec 28, 2013, at 11:46 AM, Patrick Dupre <pdupre(a)gmx.com> wrote:
>
> > Dear Chris,
> >>
> >> On Dec 27, 2013, at 7:25 PM, Patrick Dupre <pdupre(a)gmx.com> wrote:
> >>>
> >>> cp -a /mnt/linux1/* /mnt/linux2
> >>
> >> This does not copy .hidden files. There are quite a few:
> > You are right and wrong
> > cp -a copies all the hidden files located inside the sub-directories recursively
> > (I checked on that).
>
> Aha, so as long as there are no hidden files in /mnt/linux1 then it's fine, I see. I tested this only with /boot/* and it did not copy the hidden .vmlinuz*.hmac files.
>
> Anyway there are reasons why live desktop installs use rsync and not cp, it's more reliable. I'm not sure what isn't being copied, or is being copied wrongly, but if things are copied correctly this should work. I've done it with rsync, xfs dump restore, btrfs send receive, and LVM thinp snapshots and those are all way easier and reliable than cp.
>
> > There is something else to fix. I cannot guess what is it!
>
> Post a photo of the failure.
>
>
> Chris Murphy
> --
> users mailing list
> users(a)lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===========================================================================
10 years, 4 months
F20 Installs Fail From Every Angle
by Brian Hanks
Maybe I'm just getting old, but it seems to me that Fedora is becoming
less and less stable with each release. I've just tried repeatedly to
install Fedora 20 using a myriad of different methods over three
different machines. Not a single attempt was successful.
I've been using RedHat/Fedora since version 1.1 back in 1995 and I don't
think I've ever been as frustrated by the installation process as I am
now. It seems to me that the old installer was much more stable and
capable of dealing with complicated installation scenarios. With each
release I hope for improvements to the installation process, but I am
repeatedly disappointed.
Here's what I've tried so far and the outcome of each attempt:
1. Fedup Upgrade of two different HP laptops each currently with Fedora
19 and simple partitioning (ext4 only). I've attempted this upgrade
multiple times on each machine. It fails every time with a VirtualBox
dependency error. When I check the dependency issue that is reported I
find that all of the packages are actually installed. Ignoring the error
does not work either as the upgrade does not succeed.
2. DVD/USB install (64-bit F20 DVD ISO) of an older custom desktop
(Intel E6550 chip) currently with Fedora 19 and complex partitioning
(LVM & RAID 1). I've tried four times to do this install from DVD/USB.
Each time the installation has terminated with an unexpected error.
Twice this happened early in the installation process and twice when
attempting to install the boot loader. In all four cases, I used
BugZilla from within the installer to report the issue. In all four
cases it indicated that there was an open bug for the issue.
3. Net install (64-bit F20 boot.iso) of an older custom desktop (Intel
E6550 chip) currently with Fedora 19 and complex partitioning (LVM &
RAID 1). I managed to successfully get through the entire installation
process and reboot the machine only to be greeted with the dreaded
"Welcome to emergency mode." message on my screen.
I fully admit that I am not participating in the pre-release testing to
the degree that I did in the past, so I guess I shouldn't complain.
That said, it just seems like the installation process should be a lot
more stable than what I have experienced. If it were, there would
likely be a lot more Fedora users out there.
If you have any insight that will help complete one of the above failed
installations, please let me know.
Thanks,
Brian
10 years, 4 months