Re: USB drive name change -

2016-07-27 Thread John Obaterspok
2016-07-26 19:59 GMT+02:00 Bob Goodwin <bobgood...@fastmail.us>:

> On 07/26/16 07:31, John Obaterspok wrote:
>
>>
>>
>> Yes, I apparently had it mounted as several devices but normally
>> it is /dev/sdd1.
>>
>>
>> Arne you aware that you can use /dev/disk/by-label/ now when you have a
>> label set?
>>
>> -- john
>>
>>
>> That was one of many things I was not aware of.
>
> [bobg@Box10 ~]$ ls -al /dev/disk/by-label/
> total 0
> drwxr-xr-x. 2 root root  80 Jul 26 12:49 .
> drwxr-xr-x. 6 root root 120 Jul 26 02:11 ..
> lrwxrwxrwx. 1 root root  10 Jul 26 02:11 F23b -> ../../sda2
> lrwxrwxrwx. 1 root root  10 Jul 26 12:49 st1000 -> ../../sdd1
>
>
There are other /dev/disk/by-xxx links there as well. Depends on use-case,
but by-label is the one I use most.

-- john
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
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


Re: USB drive name change -

2016-07-26 Thread John Obaterspok
tisdag 26 juli 2016 skrev Bob Goodwin :

> On 07/26/16 01:15, Jon LaBadie wrote:
>
>> IIRC, yesterday you were labelling /dev/sde1, not sdd1.
>> Did it get enumerated differently today?
>>
>> If the system consistently mounts the drive to a specific
>> location (ex/run/media/bobg/ you could make a
>> symbolic link to the mount point in your homedir,
>> say /home/bobg/extdisc.  If the drive is mounted you
>> have an easy to use path to it.  Otherwise it will
>> just be a broken link, no problem.
>>
>> jon
>>
> +
>
> Yes, I apparently had it mounted as several devices but normally it is
> /dev/sdd1.
>
>
Arne you aware that you can use /dev/disk/by-label/ now when you have a
label set?

-- john
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
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


Re: Creating a PostgreSQL db

2016-03-09 Thread John Obaterspok
2016-03-09 19:59 GMT+01:00 Michael Cronenworth :

> On 03/09/2016 12:18 PM, Suvayu Ali wrote:
>
>> I want to create a PostgreSQL db.  So I did the following:
>>
>>$ su -
>># su - postgres
>>$ pg_ctl initdb -D /var/lib/pgsql/data
>>
>
> For future reference there is a helper script that can do this stuff for
> you.
>
> # postgresql-setup --init-db
>
>
I would pass --data-checksums to initdb to checksum the data pages and
report eventual corruption.

-- john
-- 
users mailing list
users@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


Re: fedora 20 firewalld multicast DLNA

2014-02-28 Thread John Obaterspok
I'm using rygel with firewalld using a static port in the rygel.conf file.

1) cp /etc/rygel.conf ~/.config/rygel.conf for the user that will run the
DLNA server
2) edit ~/.config/rygel.conf and change line port=0 to some high numbered
port like 5
3) Set firewalld to allow 5/tcp and 1900/udp using the following
commands:
firewall-cmd --zone=public --permanent --add-port=5/tcp
firewall-cmd --zone=public --permanent --add-port=1900/udp

Then start rygel.

-- john



2014-02-28 16:55 GMT+01:00 Rich Emberson emberson.r...@gmail.com:

 Setting up a media server on a Fedora 20 box.
 It must have reception of multicast messages enabled.
 If I do a 'iptables -F' blowing away the firewall, then
 the media server sees the smart tv and the smart tv sees the media server.
 Given the default firewall that comes with Fedora 20 and firewalld,
 how do I add configuration info to it so that multicast messages are
 enabled?
 This is a pretty general how to configure firewalld so that Fedora can be
 used as a DLNA media server question.

 Thanks

 --
 users mailing list
 users@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


-- 
users mailing list
users@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


Re: Virt-Manager with MacVTap not working?

2014-02-17 Thread John Obaterspok
It seems this is a bug in the e1000e driver:
https://bugzilla.redhat.com/show_bug.cgi?id=1040315


2014-02-05 17:17 GMT+01:00 John Obaterspok john.obaters...@gmail.com:


 2014-02-05 Jorge Fábregas jorge.fabre...@gmail.com:

 On 02/05/2014 10:29 AM, John Obaterspok wrote:
  I've setup a VM with default networking (NAT) and this works fine but
 hosts
  on my LAN can't get to the VM since it uses NAT.

 There are two possible scenarios that I can think of:

 - Keep using the default networking (NAT) but you'll have to create some
 port-forwarding rules so that X port on your host gets forwarded to Y
 port on your VM and so on.  Search for firewalld forward...

 - Change the default networking mode to Bridge and therefore all your
 VMs (along with your host) share the same physical network.  I haven't
 done this in Fedora 20 (with NetworkManager/firewalld etc) so I can't
 tell you out of my mind a quick way to do it.

 I haven't use Macvtap so don't know much about it.


 I did use MacVTap in F19 and that worked fine out of the box. Hmm... I'd
 prefer to use MacVTap. Anyone else?

-- 
users mailing list
users@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


Virt-Manager with MacVTap not working?

2014-02-05 Thread John Obaterspok
Hello,

I've setup a VM with default networking (NAT) and this works fine but hosts
on my LAN can't get to the VM since it uses NAT.

When I try to set network to use MacVTap with either default or bridged I
get no networking for the VM.

Any hints around this? I would like to have the VM's on the same LAN as my
other machines. I don't care if the VM host can't reach the guests.

-- john
-- 
users mailing list
users@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


Re: Virt-Manager with MacVTap not working?

2014-02-05 Thread John Obaterspok
2014-02-05 Jorge Fábregas jorge.fabre...@gmail.com:

 On 02/05/2014 10:29 AM, John Obaterspok wrote:
  I've setup a VM with default networking (NAT) and this works fine but
 hosts
  on my LAN can't get to the VM since it uses NAT.

 There are two possible scenarios that I can think of:

 - Keep using the default networking (NAT) but you'll have to create some
 port-forwarding rules so that X port on your host gets forwarded to Y
 port on your VM and so on.  Search for firewalld forward...

 - Change the default networking mode to Bridge and therefore all your
 VMs (along with your host) share the same physical network.  I haven't
 done this in Fedora 20 (with NetworkManager/firewalld etc) so I can't
 tell you out of my mind a quick way to do it.

 I haven't use Macvtap so don't know much about it.


I did use MacVTap in F19 and that worked fine out of the box. Hmm... I'd
prefer to use MacVTap. Anyone else?
-- 
users mailing list
users@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


Auto suspend/spin-down idle disk

2013-12-29 Thread 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
-- 
users mailing list
users@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


Re: Auto suspend/spin-down idle disk

2013-12-29 Thread John Obaterspok
2013/12/29 Tim ignored_mail...@yahoo.com.au

 Allegedly, on or about 29 December 2013, John Obaterspok sent:
  Any hints on how I get the disks to spin down?

 Do a manual unmount, and leave it unmounted, perhaps?


Well, then it's easier to force them to suspend. The media disk is used via
smb/nfs occasionally. There must be a way to get this to work correctly
-- 
users mailing list
users@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


Re: Disable PulseAudio on a NAS

2013-12-28 Thread John Obaterspok
Great, this seems to work just fine. I set the following:
autospawn = no
daemon-binary = /bin/true

Don't know if the last line is neccessary, but I've added it since I saw
some references to it


2013/12/28 Ahmad Samir ahmadsamir3...@gmail.com

 On 19 December 2013 23:16, John Obaterspok john.obaters...@gmail.com
 wrote:
  Hi,
 
  I don't think I'll need to have PA enabled on my NAS. What is the easiest
  way to *disable* it?
 

 To disable PA I edit /etc/pulse/client.conf and change:
 ; autospawn = yes
 to:
 autospawn = no

  -- john
 
  --
  users mailing list
  users@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
 



 --
 Ahmad Samir
 --
 users mailing list
 users@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

-- 
users mailing list
users@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


Disable PulseAudio on a NAS

2013-12-19 Thread John Obaterspok
Hi,

I don't think I'll need to have PA enabled on my NAS. What is the easiest
way to *disable* it?

-- john
-- 
users mailing list
users@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


SSD Partitioning OP/Trim recommendations

2013-12-18 Thread John Obaterspok
Hello,

I'm going to setup F20 with a new SSD disk (256gb Samsung 840 PRO) and was
wondering about best practices for Over Provisioning during partitioning.

According to Samsung docs (
http://www.samsung.com/global/business/semiconductor/minisite/SSD/us/html/about/whitepaper05.html
)

*With the introduction of the 840 Series and the reality of increasingly
complex NAND fabrication processes, however, Samsung has chosen to
implement a minimum amount of OP in its mainstream drives (the 840 PRO will
not feature mandatory OP).*

Should I therefor make sure that I only fill up ~90% of the total disk with
partitions during install?
Then what about the -discard mount option to get the drive to trim deleted
data, Is this something I have to manually add?
Is it a best practice to add this or is it better to leave it alone or use
in some other way?

-- john
-- 
users mailing list
users@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


Re: SSD Partitioning OP/Trim recommendations

2013-12-18 Thread John Obaterspok
2013/12/18 Robert Moskowitz r...@htt-consult.com


 On 12/18/2013 04:41 AM, John Obaterspok wrote:

 Hello,

  I'm going to setup F20 with a new SSD disk (256gb Samsung 840 PRO) and
 was wondering about best practices for Over Provisioning during
 partitioning.


 hmmm.  I just ordered a Crucial M500 256GB SSD for my new install.  I
 thought I would have it all to work with (currently using a 320GB HD, so
 that is a 64GB reduction already).  Are you implying here that you need to
 not use all of the SSD drive so that it has some swap around?


I guess it's really depending on what SSD you are using. I'm not sure
though, that's why I'm asking.



 I chose the M500 over the 840 based on price and reviews.  The M500 uses
 MLC NAND compared to the 840 using TLC NAND.


840 *PRO* is using MLC NAND

-- john
-- 
users mailing list
users@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