Re: [CentOS] how do determine last file system on disk?

2011-06-26 Thread Rudi Ahlers
On Sat, Jun 25, 2011 at 2:41 PM, Always Learning wrote: > > > > Does anyone know how to determine which file system a disk was > > formatted with, if fdisk -l doesn't show it? > > I would use gparted from the command line or from Gnome's / > Applications / System Tools menu > > yum install gparte

Re: [CentOS] how do determine last file system on disk?

2011-06-26 Thread Rudi Ahlers
On Sat, Jun 25, 2011 at 3:16 PM, Robert Heller wrote: > > If 'fdisk -l /dev/sda' does not show anything, either the disks were > never partitioned or formatted, at least not as a bare drive. What kind > of disk is this (I know it says USB above, but I am assuming these are > bare disk(s) that you

Re: [CentOS] how do determine last file system on disk?

2011-06-26 Thread Rudi Ahlers
On Sat, Jun 25, 2011 at 6:49 PM, Robert Nichols wrote: > On 06/25/2011 06:46 AM, Rudi Ahlers wrote: > > Hi all, > > > > Does anyone know how to determine which file system a disk was formatted > with, > > if fdisk -l doesn't show it? > [snip] > > I need to see what data is on a bunch of disks that

Re: [CentOS] how do determine last file system on disk?

2011-06-26 Thread Rudi Ahlers
On Sat, Jun 25, 2011 at 7:14 PM, Lamar Owen wrote: > On Saturday, June 25, 2011 07:46:01 AM Rudi Ahlers wrote: > > Does anyone know how to determine which file system a disk was formatted > > with, if fdisk -l doesn't show it? > > blkid -s TYPE > > On a C5 box here: > [root@backup670 ~]# blkid -s

Re: [CentOS] how do determine last file system on disk?

2011-06-26 Thread John R Pierce
On 06/26/11 12:58 AM, Rudi Ahlers wrote: > > All the drives are old 160GB SATA. There's 1x 160GB IDE as well. > > They were used in the office on various machines, so no hardware RAID, > but they definitely had some data on them. > I did get some drives with software RAID on and could recover the

Re: [CentOS] how do determine last file system on disk?

2011-06-26 Thread Rudi Ahlers
On Sun, Jun 26, 2011 at 10:04 AM, John R Pierce wrote: > On 06/26/11 12:58 AM, Rudi Ahlers wrote: > > > > All the drives are old 160GB SATA. There's 1x 160GB IDE as well. > > > > They were used in the office on various machines, so no hardware RAID, > > but they definitely had some data on them.

Re: [CentOS] how do determine last file system on disk?

2011-06-26 Thread John R Pierce
On 06/26/11 1:11 AM, Rudi Ahlers wrote: > It's hard to say. They've been in the cupboard for along time and I > don't know which tech did what on them, which is why I'm trying to see > which file systems were on them last, so that I can see what data is > on them. well, if as you say... > [roo

Re: [CentOS] how do determine last file system on disk?

2011-06-26 Thread Keith Roberts
On Sun, 26 Jun 2011, Rudi Ahlers wrote: > To: CentOS mailing list > From: Rudi Ahlers > Subject: Re: [CentOS] how do determine last file system on disk? > > On Sun, Jun 26, 2011 at 10:04 AM, John R Pierce wrote: > >> On 06/26/11 12:58 AM, Rudi Ahlers wrote: >>> >>> All the drives are old 160GB

Re: [CentOS] how do determine last file system on disk?

2011-06-26 Thread Rudi Ahlers
On Sun, Jun 26, 2011 at 10:26 AM, Keith Roberts wrote: > > > > > It's hard to say. They've been in the cupboard for along time and I don't > > know which tech did what on them, which is why I'm trying to see which > file > > systems were on them last, so that I can see what data is on them. > > W

Re: [CentOS] how do determine last file system on disk?

2011-06-26 Thread Keith Roberts
On Sun, 26 Jun 2011, Rudi Ahlers wrote: > To: CentOS mailing list > From: Rudi Ahlers > Subject: Re: [CentOS] how do determine last file system on disk? > > On Sun, Jun 26, 2011 at 10:26 AM, Keith Roberts wrote: > >> >>> >>> It's hard to say. They've been in the cupboard for along >>> time an

Re: [CentOS] how do determine last file system on disk?

2011-06-26 Thread John R Pierce
On 06/26/11 1:18 AM, John R Pierce wrote: >> > [root@HP-DL360 ~]# file -s /dev/sda >> > /dev/sda: empty > I'm guessing the tech wiped them clean. or they were spares for a raid system, never used. -- john r pierceN 37, W 122 santa cruz ca m

[CentOS] iptables port forwarding

2011-06-26 Thread muiz
Dear all, I would like to forward a port to an internet server, but failed. can you help me? Server: eth0: 192.168.1.250, Port: 8080 TCP, CentOS 5.6 Remote server: IP: a.b.c.d Port: 8181 Forward path: client1(192.168.1.10) -> 192.168.1.250:8080 (forward) -> a.b.c.d Port: 8181 --

Re: [CentOS] how do determine last file system on disk?

2011-06-26 Thread Robert Heller
At Sun, 26 Jun 2011 09:58:16 +0200 CentOS mailing list wrote: > > > > On Sat, Jun 25, 2011 at 3:16 PM, Robert Heller wrote: > > > > > If 'fdisk -l /dev/sda' does not show anything, either the disks were > > never partitioned or formatted, at least not as a bare drive. What kind > > of disk

Re: [CentOS] how do determine last file system on disk?

2011-06-26 Thread Rudi Ahlers
On Sun, Jun 26, 2011 at 12:53 PM, Robert Heller wrote: > > Wondering: could these extra 2 drives have been 'spare' disks that were > never actually installed? And got mixed in with the 'used' drives? > > I doubt it since there are quite a few drives that were part of a RAID set and I could get s

Re: [CentOS] Jumbo Frame performance or lackof?

2011-06-26 Thread Geoff Galitz
> I'm wondering, that since Jumbo Frames was supposed to be better for > bulk transfers, why am I seeing these results? Is it the ElRepo > drivers I used to enable higher MTUs or possibly some kind of oddity > with the realtek NICs I am using? Or am I mistaken about the benefits > of jumbo frames

Re: [CentOS] Jumbo frames problem with Realtek NICs?

2011-06-26 Thread Ljubomir Ljubojevic
Emmanuel Noobadmin wrote: > Now the question is whether the overheads reduction, even at sub-10GBs > speeds, may be significant if the host/guest are VMs instead of actual > physical machines. If you are going to use it on virtual interfaces, I would think it would help, especially if you have

Re: [CentOS] iptables port forwarding

2011-06-26 Thread Marian Marinov
On Sunday 26 June 2011 12:53:07 muiz wrote: > Dear all, > I would like to forward a port to an internet server, but failed. can you > help me? Server: eth0: 192.168.1.250, Port: 8080 TCP, CentOS 5.6 > Remote server: IP: a.b.c.d Port: 8181 > > > Forward path: client1(192.168.1.10) -> 192.16

Re: [CentOS] sendmail - smtp security/authentication & port 587 issues

2011-06-26 Thread Devin Reade
Max Pyziur wrote: > Are there any views in this CentOs user community on [using port 587]? Yes. Not only is enabling 'submission' a good idea, but you should also enable 'smtps' (which is different from smtp+tls): DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl DAEMON_OPTIONS(`Port=submission, Name=

[CentOS] Still having umask problems

2011-06-26 Thread Todd Cary
I have the samba problems solved thanks to the help of folks on this forum, but I do not have the php umask problems solved. The www directory is /var/www/html and the html directory is owned by apache and is in the apache groups with the following permissions: drwxrwsr-- A sub-driectory, /va

Re: [CentOS] how do determine last file system on disk?

2011-06-26 Thread John R Pierce
On 06/26/11 3:53 AM, Robert Heller wrote: > It is also possible that the drives got 'wiped' somehow, eg they were > on the bottom shelf when the cleaning crew came by with the floor waxing > machine... in that scenario, you would get nothing but servo errors from the drive, they wouldn't even fin

Re: [CentOS] iptables port forwarding

2011-06-26 Thread muiz
Thanks Marian, The server only has one IP. I think I should add more iptables records, only one NAT record is not enough,isit correct? If yes , then how? 2011-06-26 23:38:58,"Marian Marinov" wrote: >On Sunday 26 June 2011 12:53:07 muiz wrote: >> Dear all, >> I would like to forward a port

Re: [CentOS] iptables port forwarding

2011-06-26 Thread Marian Marinov
On Monday 27 June 2011 00:08:08 muiz wrote: > Thanks Marian, > The server only has one IP. I think I should add more iptables records, > only one NAT record is not enough,isit correct? If yes , then how? Huh, I'm sorry yes you need a second rule. So the rules are: iptables -t nat -A PREROUTING -

Re: [CentOS] Does anyone using dm-cache?

2011-06-26 Thread Kai Schaetzl
Rudi Ahlers wrote on Fri, 24 Jun 2011 17:42:16 +0200: > it's 2 different list, with different people > and different input Ask on one list first, wait, if you ask on another provide what you got so far from the other list. That is plain courtesy. Kai __

[CentOS] Latest kernel produces kernel error on Dell R200 on boot-up

2011-06-26 Thread Kai Schaetzl
I accidentally noticed this error written to the warn log on my Dell R200's when the machines booted up after latest kernel update. Google doesn't have this exact error, only a few with differently named devices, but all seem to have to do with USB. Could this be a bug? Didn't see this error on

[CentOS] Still having umask problems [resend]

2011-06-26 Thread Todd Cary
I have the samba problems solved thanks to the help of folks on this forum, but I do not have the php umask problems solved. The www directory is /var/www/html and the html directory is owned by apache and is in the apache groups with the following permissions: drwxrwsr-- A sub-driectory, /va

Re: [CentOS] CentOS-6 Status updates

2011-06-26 Thread Mark Bradbury
> > > yes cool isn't it, that webpage is updated! actually that's what makes > it useful. > besides, read the title text on that page again: > "QA dates are tentative dates for internal planning only. These are not > official release dates, but only a guide for the QA team. All target > dates are s

Re: [CentOS] CentOS-6 Status updates

2011-06-26 Thread robert mena
So, to go back to the topic what is the current status for 6.0? Will it happen in June or July? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Still having umask problems [resend]

2011-06-26 Thread Drew
> My goal is to have any created directories and files to have 774 > permissions. Hi Todd, Am I correct in assuming the php script that creates the directory uses the mkdir() function? If so something along the lines of: mkdir('mydir', 0774); should suffice. The 0 can be changed to 2, 4 or 6 depe

Re: [CentOS] CentOS-6 Status updates

2011-06-26 Thread Christopher Chan
On Monday, June 27, 2011 10:46 AM, robert mena wrote: > So, > > to go back to the topic what is the current status for 6.0? Will it > happen in June or July? > I vote "who cares?" ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/

Re: [CentOS] CentOS-6 Status updates

2011-06-26 Thread John R. Dennison
On Mon, Jun 27, 2011 at 11:25:21AM +0800, Christopher Chan wrote: > > I vote "who cares?" I vote "http://qaweb.dev.centos.org";. John -- I begin by taking. I shall find scholars later to demonstrate my perfect right. -- Euripides (c

Re: [CentOS] iptables port forwarding

2011-06-26 Thread muiz
Dear Marian and all, It seems don't works: /sbin/iptables -t nat -A PREROUTING -j DNAT -p tcp --dport 8080 --to a.b.c.d:8181 /sbin/iptables -t nat -A POSTROUTING -j SNAT -s 192.168.0.0/255.255.255.0 --to a.b.c.d echo 1 > /proc/sys/net/ipv4/ip_foward I check the Fedora iptables setting: /etc/

Re: [CentOS] iptables port forwarding

2011-06-26 Thread Marian Marinov
On Monday 27 June 2011 06:50:27 muiz wrote: > Dear Marian and all, > It seems don't works: > /sbin/iptables -t nat -A PREROUTING -j DNAT -p tcp --dport 8080 --to > a.b.c.d:8181 /sbin/iptables -t nat -A POSTROUTING -j SNAT -s > 192.168.0.0/255.255.255.0 --to a.b.c.d echo 1 > > /proc/sys/net/ipv4/i

Re: [CentOS] CentOS-6 Status updates

2011-06-26 Thread Christopher Chan
On Monday, June 27, 2011 11:48 AM, John R. Dennison wrote: > On Mon, Jun 27, 2011 at 11:25:21AM +0800, Christopher Chan wrote: >> >> I vote "who cares?" > > I vote "http://qaweb.dev.centos.org";. > Too bad that does not seem to be good enough for some. _

Re: [CentOS] iptables port forwarding

2011-06-26 Thread muiz
Marian, I'm very happy you're online :)I think I have try the record you mention just now. And I would like to clear what I have done (the scripts I test):/sbin/iptables -t nat -A PREROUTING -j DNAT -p tcp --dport 8080 --to a.b.c.d:8181 /sbin/iptables -t nat -A POSTROUTING -j SNAT -s 192.168.0

Re: [CentOS] iptables port forwarding

2011-06-26 Thread Marian Marinov
On Monday 27 June 2011 07:15:33 muiz wrote: > Marian, I'm very happy you're online :)I think I have try the record you > mention just now. And I would like to clear what I have done (the scripts > I test):/sbin/iptables -t nat -A PREROUTING -j DNAT -p tcp --dport 8080 > --to a.b.c.d:8181 /sbin/ipt

Re: [CentOS] CentOS-6 Status updates

2011-06-26 Thread Ljubomir Ljubojevic
Mark Bradbury wrote: > > yes cool isn't it, that webpage is updated! actually that's what makes > it useful. > besides, read the title text on that page again: > "QA dates are tentative dates for internal planning only. These are not > official release dates, but only a guide f

Re: [CentOS] Latest kernel produces kernel error on Dell R200 on boot-up

2011-06-26 Thread Ljubomir Ljubojevic
Kai Schaetzl wrote: > I accidentally noticed this error written to the warn log on my Dell > R200's when the machines booted up after latest kernel update. Google > doesn't have this exact error, only a few with differently named devices, > but all seem to have to do with USB. > Could this be a

Re: [CentOS] iptables port forwarding

2011-06-26 Thread Ljubomir Ljubojevic
Marian Marinov wrote: > On Monday 27 June 2011 07:15:33 muiz wrote: >> Marian, I'm very happy you're online :)I think I have try the record you >> mention just now. And I would like to clear what I have done (the scripts >> I test):/sbin/iptables -t nat -A PREROUTING -j DNAT -p tcp --dport 8080 >>