[CentOS] Newer versoin of tar 1.26 on Centos 7

2020-09-16 Thread Klaus Kolle
Is it possible to find a repository that hold a newer version of tar. The current version is 1.26 I have some students trying to build Yocto project on my Centos 7 host, but OpenEmbedded reports incompatibility problems with the current version of tar. I thank you on beforehand for any help. |<

[CentOS] how to restore deleted directory/files

2020-09-16 Thread qw
Hi, I remove one directory by running rm -fr ./some-dir. How to restore the directory and its files in the directory? Thanks! Regards Andrew ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Newer versoin of tar 1.26 on Centos 7

2020-09-16 Thread James Pearson
I have no idea what 'Yocto' is, but CentOS 7 includes two other tar utilities: 'bsdtar' and 'star' Maybe one of those will give you what you need? James Pearson From: CentOS on behalf of Klaus Kolle Sent: 16 September 2020 12:13 To: centos@centos.org S

Re: [CentOS] how to restore deleted directory/files

2020-09-16 Thread Jonathan Billings
On Wed, Sep 16, 2020 at 07:21:08PM +0800, qw wrote: > I remove one directory by running rm -fr ./some-dir. How to restore > the directory and its files in the directory? If you don't have backups, then you're pretty much out of luck. Don't forget to back up any data that is important, and test y

Re: [CentOS] how to restore deleted directory/files

2020-09-16 Thread qw
Hi, Thanks for your reply. The file system type is xfs. And I found xfsdump/xfsrestore can undo the remove. I use dd to copy the partition as one image file. How do I mount the image as read-only device? Then I can try to recover the deleted files/directory anytime. Thanks! Regards Andr

Re: [CentOS] Newer versoin of tar 1.26 on Centos 7

2020-09-16 Thread Klaus Kolle
Hi James On 16.09.2020 14.13, James Pearson wrote: > I have no idea what 'Yocto' is, but CentOS 7 includes two other tar > utilities: 'bsdtar' and 'star' Yocto is for building custom Linux distributions. It builds on OpenEmbedded. > > Maybe one of those will give you what you need? I'll give

Re: [CentOS] how to restore deleted directory/files

2020-09-16 Thread Simon Matter
> Hi, > > > Thanks for your reply. The file system type is xfs. And I found > xfsdump/xfsrestore can undo the remove. Hm, are you sure you can use xfsdump/xfsrestore for this? > > > I use dd to copy the partition as one image file. How do I mount the image > as read-only device? Then I can try to

Re: [CentOS] how to restore deleted directory/files

2020-09-16 Thread qw
Hi, >> >> Thanks for your reply. The file system type is xfs. And I found >> xfsdump/xfsrestore can undo the remove. > >Hm, are you sure you can use xfsdump/xfsrestore for this? > xfsdump/xfsrestore can't do the recovery. >> I use dd to copy the partition as one image file. How do I mount th

Re: [CentOS] how to restore deleted directory/files

2020-09-16 Thread Jonathan Billings
On Wed, Sep 16, 2020 at 10:00:05PM +0800, qw wrote: > > Thanks for your advice. I will try the tools. > > > I also found the article about how to create and mount image. > > https://midnightprogrammer.net/post/create-mount-and-unmount-img-files-in-ubuntu/ > > > The article says, the image fil

Re: [CentOS] how to restore deleted directory/files

2020-09-16 Thread Valeri Galtsev
On 2020-09-16 06:21, qw wrote: Hi, I remove one directory by running rm -fr ./some-dir. How to restore the directory and its files in the directory? 1. restore from latest backup. 2. if you are very facile with Linux, then you culd try a. remount read only the mount point where removed

[CentOS] storage for mailserver

2020-09-16 Thread Michael Schumacher
hi, I am planning to replace my old CentOS 6 mail server soon. Most details are quite obvious and do not need to be changed, but the old system was running on spinning discs and this is certainly not the best option for todays mail servers. With spinning discs, HW-RAID6 was the way to go to incre

Re: [CentOS] storage for mailserver

2020-09-16 Thread Stephen John Smoogen
On Wed, 16 Sep 2020 at 12:12, Michael Schumacher < michael.schumac...@pamas.de> wrote: > hi, > > I am planning to replace my old CentOS 6 mail server soon. Most details > are quite obvious and do not need to be changed, but the old system > was running on spinning discs and this is certainly not t

Re: [CentOS] storage for mailserver

2020-09-16 Thread Mark (Netbook)
Hi Michael, With SSD's, no matter what storage technology is used, you pay your money and you take your choice. The more expensive SSD's have higher I/O rates, higher data bandwidth and better durability. I would go for NVMe as this gives a higher data rate with PCIe 3.0 and PCIe 4.0 (twic

Re: [CentOS] storage for mailserver

2020-09-16 Thread Radosław Piliszek
Hi Michael, RAID 1 is not uncommon with SSDs (be them SATA/SAS/NVMe). RAID 5/6 wear SSD drives more so are generally best avoided. You really need to monitor your SSDs health to help avoid failures. And obviously always have your backups... -yoctozepto On Wed, Sep 16, 2020 at 6:12 PM Michael Sc

Re: [CentOS] storage for mailserver

2020-09-16 Thread Valeri Galtsev
On 2020-09-16 11:26, Stephen John Smoogen wrote: On Wed, 16 Sep 2020 at 12:12, Michael Schumacher < michael.schumac...@pamas.de> wrote: hi, I am planning to replace my old CentOS 6 mail server soon. Most details are quite obvious and do not need to be changed, but the old system was running

Re: [CentOS] storage for mailserver

2020-09-16 Thread Phil Perry
On 16/09/2020 17:11, Michael Schumacher wrote: hi, I am planning to replace my old CentOS 6 mail server soon. Most details are quite obvious and do not need to be changed, but the old system was running on spinning discs and this is certainly not the best option for todays mail servers. With sp

Re: [CentOS] Newer versoin of tar 1.26 on Centos 7

2020-09-16 Thread wwp
Hello Klaus, On Wed, 16 Sep 2020 13:13:57 +0200 Klaus Kolle wrote: > Is it possible to find a repository that hold a newer version of tar. > The current version is 1.26 > > I have some students trying to build Yocto project on my Centos 7 host, > but OpenEmbedded reports incompatibility proble