Search found 33 matches

by Elliott
2020/04/24 18:05:52
Forum: CentOS 7 - General Support
Topic: Shrinking partition used for LVM
Replies: 4
Views: 94

Re: Shrinking partition used for LVM

For some reason, I assumed home was the last LV in the PV. I just realized this is not the case, it actually comes before root. So by shrinking the partition with parted, I actually trampled on root, which probably means this is not fixable.
Screen Shot 2020-04-24 at 11.00.37.png
Screen Shot 2020-04-24 at 11.00.37.png (218.85 KiB) Viewed 72 times
by Elliott
2020/04/24 17:33:51
Forum: CentOS 7 - General Support
Topic: Shrinking partition used for LVM
Replies: 4
Views: 94

Re: Shrinking partition used for LVM

Thanks Trevor. There is nothing critical on this machine so if I ruin it, I'll treat it as a practice exercise. I need high performance networking on the Windows server (100Gb) so I think a VM would make that more difficult. I used lvreduce to shrink home to 340G. Then I used parted to resizepart to...
by Elliott
2020/04/24 16:18:12
Forum: CentOS 7 - General Support
Topic: Shrinking partition used for LVM
Replies: 4
Views: 94

Shrinking partition used for LVM

I have a 1TB drive running CentOS 7.7 with default partitioning. # Start End Size Type Name 1 2048 411647 200M EFI System EFI System Partition 2 411648 2508799 1G Microsoft basic 3 2508800 1875384319 893.1G Linux LVM Partition 3 has LVM partitions of 50GB root, 4GB swap, and 900GB home. I want to sh...
by Elliott
2020/04/14 20:17:28
Forum: CentOS 7 - General Support
Topic: How to delay systemd services until time is synchronized?
Replies: 5
Views: 151

Re: How to delay systemd services until time is synchronized?

There is a built-in systemd unit called time-sync.target, so maybe chronyd could be adapted to use that. But I think the current behavior is good enough for me.
chronyc sources shows a difference of less than 1 second now after a reboot.
by Elliott
2020/04/12 20:17:37
Forum: CentOS 7 - General Support
Topic: How to delay systemd services until time is synchronized?
Replies: 5
Views: 151

Re: How to delay systemd services until time is synchronized?

I found this command timedatectl set-local-rtc 0 After running this, now the clock is correct after a reboot, so I think this solves my problem for now. But I am still curious if there is a way to make units wait until time is synchronized. Just in case there is a critical application that requires ...
by Elliott
2020/04/12 20:11:23
Forum: CentOS 7 - General Support
Topic: How to delay systemd services until time is synchronized?
Replies: 5
Views: 151

How to delay systemd services until time is synchronized?

I installed CentOS 7 on an Amazon EC2 instance and set the timezone to Los Angeles. I configured chronyd to use Amazon's server. Every time I boot, the clock is about 7 hours fast until chronyd finishes synchronizing. Some applications such as Teradici PCoIP agent fail to start when the clock is thi...
by Elliott
2020/01/23 01:27:47
Forum: CentOS 7 - General Support
Topic: Software RAID0 slow
Replies: 15
Views: 1029

Re: Software RAID0 slow

I've been away on other projects but I'm coming back to this now. This time I put 7 disks in the same system, but the limit is still around 1100MBps. How can I set noop scheduler? I tried echo 'noop' > /sys/block/md0/queue/scheduler (running as root of course) But cat /sys/block/md0/queue/scheduler ...
by Elliott
2019/11/26 19:58:05
Forum: CentOS 7 - General Support
Topic: How to specify GPU for text mode
Replies: 1
Views: 75

How to specify GPU for text mode

I have a Supermicro workstation running CentOS 7.3 with four Nvidia GPUs and two monitors attached the the GPU, using Nvidia proprietary driver. (I know everyone is going to say I should update, but I have to use this version for compatibility with a specific app.) I used nvidia-xconfig -a to create...
by Elliott
2019/09/16 20:41:54
Forum: CentOS 7 - General Support
Topic: Unable to mount XFS filesystem
Replies: 1
Views: 1004

Re: Unable to mount XFS filesystem

Aha! Problem solved. It turns out fstab entries are converted to systemd units, so I had to run systemctl daemon-reload and now it mounts.
by Elliott
2019/09/16 20:34:00
Forum: CentOS 7 - General Support
Topic: Unable to mount XFS filesystem
Replies: 1
Views: 1004

Unable to mount XFS filesystem

I had a RAID built with mdadm which was performing slowly, so I stopped it, secure-erased the SSDs with hdparm, then rebuilt a new array with mdadm. I partitioned it gpt, added a partition, formatted XFS, and now it won't mount. SElinux is set to permissive so I think that warning is irrelevant. $ m...

Go to advanced search