Re: nfs client ownership

2016-07-09 Thread Boris Epstein
Does user1 (and other users) have the same UID on all the systems involved?
I think this is the key moment here.

Cheers,

Boris.

On Fri, Jul 8, 2016 at 7:13 PM, bruce  wrote:

> ok...
>
> seem to have resolved this..
>
> centos 6.8
>
> running test master/client nfs
>
> on the masterside:
>
> change the  /etc/idmapd.conf
> # The following should be set to the local NFSv4 domain name
> # The default is the host's DNS domain name.
> Domain = localdomain  <<
>
> # The following is a comma-separated list of Kerberos realm
> # names that should be considered to be equivalent to the
> # local realm, such that @REALM.A can be assumed to
> # be the same user as @REALM.B
> # If not specified, the default local realm is the domain name,
> # which defaults to the host's DNS domain name,
> # translated to upper-case.
> # Note that if this value is specified, the local realm name
> # must be included in the list!
> #Local-Realms =
>
> [Mapping]
>
> Nobody-User = crawl_user   <<<
> Nobody-Group = crawl_user  <<<
>
> .
> .
> .
> =
>
> changed the user to the user i want
>
> on both the master/client...
>
> i set the user/group to the same id on both
>
> usermod -u 600 user1
> groupmod -g 600 user1
>
> i then made sure the given dir on the master/client was "set"
>
> client
> chown crawl_user:crawl_user /dir1
>
> master
> chown crawl_user:crawl_user /dir1
>
>
> on the master side...
>
> made sure the nfs was reset..
> service nfs restart
>
> on the client...
> umount /dir1
> mount a  for the fstab
>
> on the masterside,,
> update the /etc/exports as required
>
> on the client
> update the /etc/fstab as required..
>
> now.. .
>
> on both the master/client for the nfs.. it appears that i have the file
> owner/perms..
>
>
>
>
>
>
>
> On Fri, Jul 8, 2016 at 4:10 PM, bruce  wrote:
>
>> arrrgghh..
>>
>> as a drop/kick..
>>
>> I went into the test master/client
>> -changed the uid/gid for the test user user1 to be 600
>> usermod
>> groupmod
>>
>> i didn't reboot
>>
>> i shut down the nfs on the master
>> i did an unmount umount on the client, followed by a mount -a to reinvoke
>> the fstab
>>
>> in the client fstab i have
>> #test to set the client nfs/mount
>> 192.168.1.45:/cloud_crawl /cloud_crawl  nfs defaults 0 0  -o uid=600 -o
>> gid=600
>>
>> on remounting the nfs share...
>>
>> i still have a different user.. the initial user..
>>
>> thoughts??!!
>>
>>
>>
>> On Fri, Jul 8, 2016 at 3:32 PM, bruce  wrote:
>>
>>> Hey..
>>>
>>> Yeah, I had seen a few articles that pointed to the idmapd as being a
>>> possible issue..
>>>
>>> This is for a test internal -- 192.168.1.* group of 3-4 systems. So,
>>> there's no real domain, but 
>>>
>>>
>>>
>>> On Fri, Jul 8, 2016 at 2:20 PM, Tom Horsley 
>>> wrote:
>>>
 On Fri, 8 Jul 2016 13:57:24 -0400
 bruce wrote:

 > I know, I could just chown, etc.. after the fact.. but I'd like to
 figure
 > out how it should be done!!

 I only know it is the most confusing NFS topic :-). It seems to work
 OK if all the machines are getting their users from the same
 source (NIS, LDAP, SSSD, something like that). There is some idmapd
 thing that turns my brain to cheese when I try to read about it.

 I have done desperate things like edit the /etc/idmapd.conf and
 set Nobody-User and Nobody-Group to the user I happened to know
 I wanted to own files because I could never get any other aspect
 of idmapd to work :-(.
 --
 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

>>>
>>>
>>
>
> --
> 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
>
>
--
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: bash/regex question..

2016-09-13 Thread Boris Epstein
Good points. I wonder if it wouldn't be best to do it all in awk. Saves CPU
cycles and complexity, IMHO.

Cheers,

Boris.

On Tue, Sep 13, 2016 at 12:26 PM, Gordon Messmer 
wrote:

> On 09/12/2016 04:37 PM, bruce wrote:
>
>> awk -F': ' '{print $2}' | tail -1 |  sed 's/.*storeId=\(.*\).&/\1/'
>>
>
>
> You've got good answers, especially Cameron's.  It had one error, though.
> If the URL is in a variable, it needs to be an argument to printf:
>
>  url='http://venturacollege.bncollege.com/webapp/wcs/stores/
> servlet/BNCBHomePage?storeId=78236&campusId=78236&userId=-
> 1002&catalogId=10001&ddkey=http:BNCBMultiCampusPageCmd'
>  store_id=$( printf '%s\n' | tr '?&' '\012\012' | sed -n 's/^storeId=//p' )
>
> The reason I like Cameron's advice in particular is that it doesn't use
> ".*".  In this case, performance isn't measurably bad, but using ".*" can
> eat a lot of CPU cycles.
>
> https://blog.mariusschulz.com/2014/06/03/why-using-in-regula
> r-expressions-is-almost-never-what-you-actually-want
>
> --
> 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
>
--
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: Anacron mail -

2016-09-18 Thread Boris Epstein
Have you considered installing something like IMAP on that machine to make
mail more convenient to read?

Boris.

On Sat, Sep 17, 2016 at 12:25 PM, Bob Goodwin 
wrote:

>
> I have been using Linux for a long time and have yet to see a cron/anacron
> mail message.
>
> In [root@Box10 bobg]# cat /etc/aliases I configured:
>
> # Person who should get root's mail
> root:bobg
>
> And after a bit of googling I dnf installed mail. Mail is difficult to
> use, has a long list of commands, but it did display about five hundred
> messages of which it displays several pages and stops, those are old from a
> couple of months ago while today's messages are all I am interested at the
> moment.
>
> Is there a command to display only what I want, a specific day or perhaps
> reverse the order so that today's messages are at the top, display first?
> Better yet I would think would be to display them in Thunderbird but I
> don't know how to do that ...
>
> Any help appreciated,
>
> Bob
>
> --
> Bob Goodwin - Zuni, Virginia, USA
> http://www.qrz.com/db/W2BOD
> box10  FEDORA-24/64bit LINUX XFCE POP3
> ___
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
>
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Advice from filesystems expert needed.

2012-01-03 Thread Boris Epstein
On Tue, Jan 3, 2012 at 1:38 PM, luis redondo wrote:

>  I have tried to put in /etc/fstab the following entry for a SDHC card:
>
> /dev/mmcblk0/media/C589-D18A vfat umask=000  0 0
>
> but Ubuntu when boots tells me that the device is not ready to mount and I
> was given the
> option to skip mounting which I do.The entry is for trying that everybody
> could write to the SDHC card.Now,I cannot put tcpdump writing to the SDHC
> card
> but the card mounts automatically without any entry in fstab.
>
>
>
>
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
>
>
Removable devices such as SDHC cards are best handled by the
autodetect/automount processes. If you want to mount it at boot time then
the system will expect it to always be there, I believe.

Is that a fair expectation?

Boris.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: PDF viewer with 'postits'

2012-01-18 Thread Boris Epstein
On Wed, Jan 18, 2012 at 11:44 AM, Robert Moskowitz wrote:

> 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.
>
>
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.**org/mailman/listinfo/users
> Guidelines: 
> http://fedoraproject.org/wiki/**Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
>

Have you tried pdfedit or PDF Studio (
http://www.qoppa.com/pdfstudio/index.html )?

Boris,
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: root password

2012-02-06 Thread Boris Epstein
On Mon, Feb 6, 2012 at 9:14 PM, Bruno Wolff III  wrote:

> On Tue, Feb 07, 2012 at 07:43:37 +0530,
>  Amit Rp  wrote:
> > I forgot the root password. Please advise whether there is any
> possibility
> > of retrieving  it?
>
> It's normally easier to boot into single user mode and change it to
> something
> new than to try to recover it.
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
>

100%.

Yet another way is to boot off of a CD or USB stick and manually edit the
/etc/shadow file in the root partition - but that is more cumbersome.

Boris.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: /sbin/shutdown -r +5 doesn't work since recent systemd upgrade

2012-02-17 Thread Boris Epstein
On Fri, Feb 17, 2012 at 11:41 AM, Patrick Horgan  wrote:

> # uname -r
> 2.6.41.10-3.fc15.x86_64
>
>
> First there was an upgrade:
>
> Feb 12 05:09:27 s3 yum[14291]: Updated: systemd-units-26-16.fc15.x86_64
> Feb 12 05:09:43 s3 systemd[1]: Reexecuting.
> Feb 12 05:09:44 s3 systemd[1]: systemd 26 running in system mode. (+PAM
> +LIBWRAP +AUDIT +SELINUX +SYSVINIT +LIBCRYPTSETUP; fedora)
> Feb 12 05:09:44 s3 yum[14291]: Updated: systemd-26-16.fc15.x86_64
> Feb 12 05:09:45 s3 yum[14291]: Updated: systemd-sysv-26-16.fc15.x86_64
> Feb 12 05:09:50 s3 systemd[1]: Reloading.
> Feb 12 05:09:32 s3 yum[14291]: Updated:
> kernel-headers-2.6.42.3-2.fc15.x86_64
> Feb 12 05:09:40 s3 yum[14291]: Installed: kernel-2.6.42.3-2.fc15.x86_64
>
>
> Then, when a cron job noticed the new kernel and tried to do a shutdown
> timed reboot via
>
> /sbin/shutdown -r +5
>
> in /var/log/messages I get:
>
> Feb 13 03:00:01 s3 systemd-shutdownd[2733]: Received message without
> credentials. Ignoring.
>
>
> and the system does not reboot.  Since it talked about credentials, I
> double checked that selinux is not active on the machine:
>
> # /usr/sbin/sestatus
> SELinux status: disabled
>
> yum update is done every day, but the problem still persists.  The cron
> job notices every day that the running kernel is not the new one and
> tries to schedule a reboot and the same error message gets into the logs.
>
> I have been reading about systemd. I've read everything on the wiki, the
> man pages, and on Lennart's blog.  I've watched videos of his
> presentation about systemd and I STILL don't have a clue.  My next
> choice is to use strace on the pid and see what happens when I try the
> shutdown so I can see what it's trying to do that makes is issue the log
> message, but I was hoping someone here would know;)
>
> Patrick
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org


Interesting. Does

# init 5

or

# reboot

work?

Boris.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: MAC address changes on every boot

2015-04-30 Thread Boris Epstein
What hardware do you have in your machine?

I've seen some NIC's with bad firmware that lose their MAC address
assignment.

Boris.

On Thu, Apr 30, 2015 at 12:24 PM, Randy Wyatt  wrote:

>
>
> I am running a fully patched Fedora 21 system.  We are trying to give it a
> long term lease in the DHCP server,  but the MAC address sent changes on
> every boot.  The MAC address seen at the DHCP server is not actually valid.
>
> The DHCP server is like Win2008 Server R2.
>
> Any ideas?
>
> Regards,
> Randy
>
>
> --
> 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: SFLPhone / Mic

2014-06-24 Thread Boris Epstein
Vlad,

Is there any way to switch the input there to PulseAudio? I'd look in that
direction. Try to see if you could dothat in your sound controls.

Good luck.

Boris.



On Tue, Jun 24, 2014 at 6:37 AM, Pal, Laszlo (private)  wrote:

> Hi,
>
> I'm trying to use SFLPhone as IAX softphone on my FC20 laptop and with
> my Logitech Clearchat USB headset. The output is fine and perfect, but
> the input is terrible (glitches, really can't hear anything. In the same
> environment Skype is perfect... The only difference I can see in the
> configs Skype using pulseaudi, but SFLPhone config looks like this:
>
> Sound manager: PulseAudio
> Input: alsa_input.usb_Logitech
>
> do you have any idea what should I change to make it work?
>
> Thanks
> Vlad
>
> --
> 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


/etc/init.d files under Fedora 16

2011-11-10 Thread Boris Epstein
Hello all,

Last time I used Fedore was awhile ago. I decided to come back to it
now, installed Fedora 16 and discovered the following: there are very
few scripts under /etc/init.d

And, also, I got my sshd installed but there is no /etc/init.d/sshd
Why would that be? How do I configure my system deamons to start up
when the machine is initializing?

Thanks.

Boris.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: /etc/init.d files under Fedora 16

2011-11-10 Thread Boris Epstein
On Thu, Nov 10, 2011 at 6:07 PM, mike cloaked  wrote:
> On Thu, Nov 10, 2011 at 11:04 PM, Boris Epstein  wrote:
>> Hello all,
>>
>> Last time I used Fedore was awhile ago. I decided to come back to it
>> now, installed Fedora 16 and discovered the following: there are very
>> few scripts under /etc/init.d
>>
>> And, also, I got my sshd installed but there is no /etc/init.d/sshd
>> Why would that be? How do I configure my system deamons to start up
>> when the machine is initializing?
>>
>
> The majority of services are now controlled by systemd - look back in
> the lists for discussions about it -
>
> http://fedoraproject.org/wiki/Systemd
> --
> mike c
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>

Mike,

Thanks! Will read up on it.

Boris.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


NIC interface names

2011-11-18 Thread Boris Epstein
Hello listmates,

I recently installed Fedora 16 as a guest VM under VirtualBox and instead
of the usual eth0/eth1 etc. names I got the following:

[root@ipa-test0 ~]# ifconfig
loLink encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:12 errors:0 dropped:0 overruns:0 frame:0
  TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:812 (812.0 b)  TX bytes:812 (812.0 b)

p2p1  Link encap:Ethernet  HWaddr 08:00:27:1C:C1:37
  inet addr:10.0.2.15  Bcast:10.0.2.255  Mask:255.255.255.0
  inet6 addr: fe80::a00:27ff:fe1c:c137/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:1653 errors:0 dropped:0 overruns:0 frame:0
  TX packets:890 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:1488287 (1.4 MiB)  TX bytes:58177 (56.8 KiB)

p7p1  Link encap:Ethernet  HWaddr 08:00:27:D2:29:56
  inet6 addr: fe80::a00:27ff:fed2:2956/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:43 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:0 (0.0 b)  TX bytes:13122 (12.8 KiB)

[root@ipa-test0 ~]#

Any idea where these strange names come from and what the significance of
them is?

Thanks.

Boris.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: NIC interface names

2011-11-18 Thread Boris Epstein
On Fri, Nov 18, 2011 at 4:19 PM, Michael Cronenworth wrote:

> Boris Epstein wrote:
> > Any idea where these strange names come from and what the significance
> > of them is?
>
> It was a Fedora 15 Feature.
>
> http://fedoraproject.org/wiki/Features/ConsistentNetworkDeviceNaming
> --
>

Michael, thanks. Actually I like this feature.

However, the question is: I've got another Fedora 16 / 32 bit machine
installed under VirtualBox, and it has your regular eth0. How could that be?

Boris.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: NIC interface names

2011-11-18 Thread Boris Epstein
On Fri, Nov 18, 2011 at 4:42 PM, Michael Cronenworth wrote:

> Boris Epstein wrote:
> > However, the question is: I've got another Fedora 16 / 32 bit machine
> > installed under VirtualBox, and it has your regular eth0. How could that
> be?
>
> Is your VM originally F16 or was it upgraded from a previous Fedora?
> Fedora saves the device name once you install Fedora so it will remain
> the same name even with this new feature.
>
> Look to see if you have this file:
> /etc/udev/rules.d/70-persistent-net.rules
>
> Fedora saves your network card name in there. You can either remove it
> to have it generate a new name or edit it to what you want.
> --
>

Both are original installations.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: ext4lazyinit?

2011-11-25 Thread Boris Epstein
On Fri, Nov 25, 2011 at 7:47 PM, Tom Horsley  wrote:

> I just reformatted a new 1TB USB 3.0 backup drive to
> ext4, mounted it, and I'm watching constant disk
> writes on my gkrellm display. I assume this is due
> to the ext4lazyinit process which showed up when
> I mounted the drive the first time.
>
> Anyone know how long it is likely to be initializing
> the tables? It has been running for about 20 minutes
> already.
> --
>

I would estimate the init would take 1-2 hours.

Beware of placing a large number in your ext3/ext4 partition. We made one
with millions of them - and it took us on the order of 10 hours to fsck it.
We could not afford that so we switched to xfs.

Boris.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: ext4lazyinit?

2011-11-25 Thread Boris Epstein
On Fri, Nov 25, 2011 at 10:36 PM, Tom Horsley  wrote:

> On Fri, 25 Nov 2011 22:26:42 -0500
> Boris Epstein wrote:
>
> > I would estimate the init would take 1-2 hours.
>
> Yep. I think it took about 1 1/2 hours for the
> disk activity to die down.
> --
>

I am sorry - I mistyped up above. I meant to say "large number of files".
The size of the files in your file system does not matter as far as fsck
duration is concerned - it is the number that matters.

So when you have millions of files the backup takes many hours. And XFS
file system with the same number of files is up in minutes.

Boris.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: yum remove selinux*

2012-05-29 Thread Boris Epstein
On Tue, May 29, 2012 at 3:07 PM, Neal Becker  wrote:

> Tommy Pham wrote:
>
> > On Tue, May 29, 2012 at 11:32 AM, Neal Becker 
> wrote:
> >> I don't want/use selinux.  Any reason I shouldn't just do:
> >>
> >> yum remove selinux* ?
> >>
> >>
> >
> > IIRC, selinux is part of the kernel.  Hence when you make any changes
> > to/from SELINUX=disabled in the /etc/selinux/config, you have to
> > reboot.
>
> Yes, but my question is just whether it is safe to yum remove selinux*?  It
> seems rather widespread, and I just wanted to be sure it won't cause other
> problems if I remove it.
>
>
It is precisely for that reason - that it is so widespread - that I
personally would rather not remove it. What prompted you to start
contemplating that?

Boris.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: SSHD failing on restart

2012-06-10 Thread Boris Epstein
On Sat, Jun 9, 2012 at 8:53 AM, Andrew Gray  wrote:

> Hi
>
> the sshd.service is enabled and is shown starting at the bottom of
> "boot.log" but "secure" show it failing to bind to the PC IP address !
>
>
> > [^[[1;32m  OK  ^[[0m] Started OpenSSH server daemon.
> > [^[[1;32m  OK  ^[[0m] Started Samba SMB Daemon.
> >  Starting CUPS Printing Service...
> > [^[[1;32m  OK  ^[[0m] Started CUPS Printing Service.
> > [^[[1;32m  OK  ^[[0m] Started Sendmail Mail Transport Agent.
> >  Starting Sendmail Mail Transport Client...
> >  Starting Daemon for managing, installing and generating color
> profiles...
>
> /var/log/secure shows it can't bind:-
>
> > linuxmail sshd[804]: error: Bind to port 22 on 192.168.191.9 failed:
> Cannot assign requested address.
> > linuxmail sshd[804]: fatal: Cannot bind any address.
>
> /var/log/messages shows it exiting ?:-
>
> > linuxmail systemd[1]: sshd.service: main process exited, code=exited,
> status=255
> > linuxmail systemd[1]: Unit sshd.service entered failed state.
>
> Yet when I login I can restart sshd.service and it will bind to port 22 on
> 192.168.191.9 and keeps running.
>
> No firewall is running and selinux is in permissive mode
> It is not the fastest machine Atlon 1200+ 1GB RAM
> Kernel 3.4.0-1.fc17.i686 #1 SMP
>
> Its my backup server and I need sshd running if it was remote I would be
> scuppered !
>
> Why is it failing to bind to the IP address on startup ?
>
>
> --
> Andrew Gray 
> Linnet Solutions Ltd
>
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org


I wonder if this has to do with timing. Perhaps on bootup the DNS does not
resolve the IP address fast enough and SSHD would not start without knowing
the host's FQDN? Just a guess but I have seen things like that.

Boris.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Help needed for NFS behind a firewall on F17

2012-06-29 Thread Boris Epstein
On Fri, Jun 29, 2012 at 4:17 AM, Jouk Jansen wrote:

> Hi all,
>
> I'm running a NFS-server on a F17 system. Normally I set it to use fixed
> ports by inserting (as the system-config-nfs tool does) the following lines
> in /etc/sysconf/nfs :
>
> LOCKD_TCPPORT=4000
> STAD_PORT=4002
> RQUOTAD_PORT=4003
> LOCKD_UDPPORT=4000
> MOUNTD_PORT=4003
>
> After restarting nfs I check the ports used with "rpcinfo -p"
> It appears that only lockd is running on the specified port (4000), the
> other not.
> What am I not doing correct?
> How do I get the other nfs-services use ports 4001-4003?
>
>Jouk
>
>
> Pax, vel iniusta, utilior est quam iustissimum bellum.
>(free after Marcus Tullius Cicero (106 b.Chr.-46 b.Chr.)
> Epistularum ad Atticum 7.1.4.3)
>
>
> >--<
>
>  Jouk Jansen
>
>  jo...@hrem.nano.tudelft.nl
>
>  Technische Universiteit Delfttt  uu uu  ddd
>  Kavli Institute of Nanoscience   tt  uu uu  dddd
>  Nationaal centrum voor HREM  tt  uu uu  dd dd
>  Lorentzweg 1 tt  uu uu  dd dd
>  2628 CJ Delfttt  uu uu  dd dd
>  Nederlandtt  uu uu  dddd
>  tel. 31-15-2782272   tt   uuu   ddd
>
>
> >--<
>
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users


This is interesting. If you do it using the config tool - does anything get
entered any different?

Boris.

>
> 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
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Can't boot Linux after motherboard change

2012-07-10 Thread Boris Epstein
Wow, this is weird...

Have you tried reinstalling Linux? I know this is a crude approach to the
problem but I can't think of anything smarter at the moment.

Boris.

On Tue, Jul 10, 2012 at 7:09 PM, Paolo Galtieri  wrote:

> Folks,
>   here's my situation and am wondering if anybody could provide some
> suggestions.
>
> Three weeks ago I had the motherboard of my Dell Precision M65 laptop
> replaced due to issues with the video card.  After the Dell tech replaced
> the board I had no problems booting up on my F16 installation.  After a few
> days this motherboard started exhibiting power supply issues.  The system
> would switch from AC power to battery, dimming the monitor, and then switch
> back to AC with the monitor brightening.  This continued to happen on and
> off for several weeks, it also would happen under Windows 7, so wasn't an
> OS issue.  I tried two different external power supplies, but the problem
> still occurred.  If I took the battery out and ran on just the AC then the
> system would power itself off within a minute or two.  I contacted Dell and
> described the problem and today the Dell tech replaced the motherboard
> again.  The problem is that now Linux no longer boots.  It starts to boot,
> it loads the kernel and the ramdisk, but then the fan speeds up and the
> system powers off.   Earlier today I was able to boot off a F16 DVD and was
> able to backup my user account data to an external drive.  Now when I try
> it it no longer works, it starts the process, I get prompted for language
> and keyboard, but then again the fans speed up and the system powers off.
>  The system is configured to boot both Windows 7 and Linux.  If I boot
> Windows it comes up just fine and runs, but Linux wont.  When I boot
> Windows the fans do not speed up as they do with Linux.
>
> Anybody have any ideas as to what might be going on?
>
> The system is updated to the lasted changes.  I tried to boot an earlier
> kernel, but I get the same behavior.
>
> Any help is appreciated.
>
> Thanks,
> Paolo
>
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> 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
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Can't boot Linux after motherboard change

2012-07-10 Thread Boris Epstein
On Tue, Jul 10, 2012 at 8:20 PM, Paolo Galtieri  wrote:

>
>
> On Tue, Jul 10, 2012 at 5:16 PM, Boris Epstein wrote:
>
>> Wow, this is weird...
>>
>> Have you tried reinstalling Linux? I know this is a crude approach to the
>> problem but I can't think of anything smarter at the moment.
>>
>> Boris.
>>
>> On Tue, Jul 10, 2012 at 7:09 PM, Paolo Galtieri wrote:
>>
>>>  Folks,
>>>   here's my situation and am wondering if anybody could provide some
>>> suggestions.
>>>
>>> Three weeks ago I had the motherboard of my Dell Precision M65 laptop
>>> replaced due to issues with the video card.  After the Dell tech replaced
>>> the board I had no problems booting up on my F16 installation.  After a few
>>> days this motherboard started exhibiting power supply issues.  The system
>>> would switch from AC power to battery, dimming the monitor, and then switch
>>> back to AC with the monitor brightening.  This continued to happen on and
>>> off for several weeks, it also would happen under Windows 7, so wasn't an
>>> OS issue.  I tried two different external power supplies, but the problem
>>> still occurred.  If I took the battery out and ran on just the AC then the
>>> system would power itself off within a minute or two.  I contacted Dell and
>>> described the problem and today the Dell tech replaced the motherboard
>>> again.  The problem is that now Linux no longer boots.  It starts to boot,
>>> it loads the kernel and the ramdisk, but then the fan speeds up and the
>>> system powers off.   Earlier today I was able to boot off a F16 DVD and was
>>> able to backup my user account data to an external drive.  Now when I try
>>> it it no longer works, it starts the process, I get prompted for language
>>> and keyboard, but then again the fans speed up and the system powers off.
>>>  The system is configured to boot both Windows 7 and Linux.  If I boot
>>> Windows it comes up just fine and runs, but Linux wont.  When I boot
>>> Windows the fans do not speed up as they do with Linux.
>>>
>>> Anybody have any ideas as to what might be going on?
>>>
>>> The system is updated to the lasted changes.  I tried to boot an earlier
>>> kernel, but I get the same behavior.
>>>
>>> Any help is appreciated.
>>>
>>> Thanks,
>>> Paolo
>>>
>>>
> I'd try, the problem is that booting from a Fedora 16 DVD also causes the
> system to power off :-(
>
> Paolo
>
>
>>>
I can see at least two possibilities:

1) The F16 DVD is defective. I'd check it somewhere.

2) Your hardware is defective.

Beyond that I am not sure what to say at this point. Sorry...

Boris.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Can't boot Linux after motherboard change

2012-07-10 Thread Boris Epstein
Paolo,

We don't know that for sure - it may have been scratched or somehow damaged
in the interim - though, quite possibly, you are right.

Boris.



>
> Boris,
>   the DVD isn't defective since it's what I used to install F16 on the
> hard disk.  I'm starting to believe I have another defective motherboard :-(
>
> Paolo
>
>
>> --
>> users mailing list
>> users@lists.fedoraproject.org
>> To unsubscribe or change subscription options:
>> https://admin.fedoraproject.org/mailman/listinfo/users
>> 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
> 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
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Perl programming related question.

2012-08-16 Thread Boris Epstein
Lazaro,

I don't remember all the details of how you'd do it but I believe you can
use the split() function to split the string and then find the last member
of the resulting array.

Good luck!

Boris.

On Thu, Aug 16, 2012 at 11:28 AM, Lázaro Morales wrote:

> Hello folks,
>
> This question is a bit off-topic but the Fedora Community is awesome. This
> is the question, How can I from this string:
>
>my $url = 
> "http://somesite.org/somefile.**zip";
># Example URL
>
> obtain only this sub-string:
>
>   my $file = "somefile.zip";
>
> Thanks very much,
> Lázaro.
>
> 
> *
> *  Este mensaje de correo electrónico ha sido procesado  por el  *
> *  Servidor  de Correo  Electrónico  de  Frioclima  y  es un correo *
> *  válido para el dominio: frioclima.com.cu
>   *
> 
> *
>
>
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.**org/mailman/listinfo/users
> 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
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Apple Mac can't access NFS -

2013-06-06 Thread Boris Epstein
Hello there,

What version of OSX are you running?

Macs are very bad with NFS - and under different versions you configure it
drastically differently.

Boris.
On Jun 5, 2013 12:07 PM, "Bob Goodwin - Zuni, Virginia, USA" <
bobgood...@wildblue.net> wrote:

>
> Our LAN has a mix of Linux and OSX computers connected to it. The Linux
> computers work as expected but  the OSX computers will not connect,
> complains:
>
> "Could not connect to the server because the name or password is not
> correct."
>
> The servers contain:
>
> -bash-4.1$ cat /etc/exports
> #
> #/etc/exports
>
> /nfs4exports 192.168.1.0/24(ro,sync,**insecure,no_root_squash,no_**
> subtree_check,fsid=0)
>
> /nfs4exports/data 192.168.1.0/24(rw,sync,**insecure,no_root_squash,no_**
> subtree_check)
>
> /nfs4exports/home 192.168.1.0/24(rw,sync,**insecure,no_root_squash,no_**
> subtree_check)
>
>
> Does anyone see anything here that would prevent them from connecting?
>
> Bob
>
> --
>
> http://www.qrz.com/db/W2BOD
>
> box10   Fedora-18 XFCE Linux
>
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.**org/mailman/listinfo/users
> 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
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: How to mount an LVM2 volume in Fedora Linux.

2017-05-21 Thread Boris Epstein
Wouldn't it be /dev/vg_maq01/lv_home that you want to mount to read files
out of your home directory?

Boris.

On Sun, May 21, 2017 at 12:40 PM, Lucélio Gomes de Freitas <
aa.luce...@gmail.com> wrote:

> Hi friends,
>
> Anybody helps?
>
> Runnning old "Fedora 20-x86_64", and want to install
> Fedora-Kde-live-25-1-3.
>
> Situation:
> [lucelio@localhost ~]$ uname -rov
> 3.19.8-100.fc20.x86_64 #1 SMP Tue May 12 17:08:50 UTC 2015 GNU/Linux
>
> [lucelio@localhost ~]$ sudo lvmdiskscan
>   /dev/fedora/root  [  50,00 GiB]
>   /dev/fedora/swap  [   3,77 GiB]
>   /dev/sda2 [ 500,00 MiB]
>   /dev/vg_maq01/lv_swap [   5,75 GiB]
>   /dev/sda3 [ 118,75 GiB] LVM physical volume
>   /dev/vg_maq01/lv_home [  63,00 GiB]
>   /dev/vg_maq01/lv_root [  50,00 GiB]
>   /dev/fedora/home  [  48,48 GiB]
>   /dev/sdb2 [ 500,00 MiB]
>   /dev/sdb3 [ 194,87 GiB]
>   /dev/sdb4 [ 500,00 MiB]
>   /dev/sdb5 [ 102,24 GiB] LVM physical volume
>   6 disks
>   4 partitions
>   0 LVM physical volume whole disks
>   2 LVM physical volumes
>
> The /dev/sda* is a SSD(KINGSTON SV200S3128G) 128GB, with old "Fedora
> 16-x86_64", and only want to recover some files in /home.
>
> The /dev/sdb* is a Seagate(ST3320613AS) 320GB, running old "Fedora
> 20-x86_64", with some important file in /home.
>
> [lucelio@localhost ~]$ sudo lvscan
>   ACTIVE'/dev/fedora/swap' [3,77 GiB] inherit
>   ACTIVE'/dev/fedora/home' [48,48 GiB] inherit
>   ACTIVE'/dev/fedora/root' [50,00 GiB] inherit
>   ACTIVE'/dev/vg_maq01/lv_swap' [5,75 GiB] inherit
>   ACTIVE'/dev/vg_maq01/lv_home' [63,00 GiB] inherit
>   ACTIVE'/dev/vg_maq01/lv_root' [50,00 GiB] inherit
>
> [lucelio@localhost ~]$ mount | grep /dev/mapper
> /dev/mapper/fedora-root on / type ext4 (rw,relatime,seclabel,data=ordered)
> /dev/mapper/fedora-home on /home type ext4
> (rw,relatime,seclabel,data=ordered)
>
> Problem:
> Want to mount the SSD on "Fedora 20" to recover some files, copying it
> to /dev/sdb3 space(/dev/sdb3 not used/mounted). After this, I can
> erase all SSD and install "Fedora 25" on it.
>
> Thanks for help if possible.
> ___
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
>
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org