linux – Some errors while installing Manjaro on a second disk (UEFI+GPT)

I want to install Manjaro on one HDD of my laptop with Windows 10 installed on an SSD. The other days I have installed Manjaro successfully on a removable SSD – when I plug it in my computer, Manjaro GRUB appears and I can freely choose Manjaro or Windows Boot Manager (the motherboard boot menu has a new entry with “EFI” string, meaning that the board can correctly detect the EFI partition on the removable media). But a similar partition plan applied to my HDD caused some errors:

  • There is no new boot entry. One entry with my HDD’s model name has no “EFI” string and it doesn’t boot up Manjaro.
  • After booting up Manjaro LiveCD and execute some commands like “grub-install”, there is one named “manjaro” on “efibootmgr” output results indeed. But it disappears after a reboot.

All the three disks has GPT partition tables.

The partition plan is as below:

SSD on laptop:

  • ESP, FAT16, Windows Boot Manager
  • NTFS*2

SSD removable:

  • FAT16, /boot/efi, with “boot” and “bios-grub” flags
  • FAT16, /boot, with “boot” flag
  • linuxswap, no mount point, with “swap” flag
  • ext4, /
  • exFAT, for daily use

HDD: Just replace the exFAT with three NTFS volumes. But the three use “/dev/sdb1” “/dev/sdb2” “/dev/sdb3” separately. The EFI volume uses “/dev/sdb5”.

Thanks for any help!

mac – Is it okay to create space on APFS synthesized disk to install windows without bootcamp?

Honestly I do not have enough reputation to comment on this post:

https://apple.stackexchange.com/a/307469/425311

Step two in the above link says:

Create empty space on a drive. This space needs to be outside any APFS or Core Storage containers.

His command diskutil list shows:

/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *536.9 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                  Apple_HFS Chicken                 150.0 GB   disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
   4:                  Apple_HFS Turkey                  150.0 GB   disk0s4
   5:                 Apple_Boot Recovery HD             650.0 MB   disk0s5

Mine shows:

/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *240.1 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                 Apple_APFS Container disk1         239.8 GB   disk0s2

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +239.8 GB   disk1
                                 Physical Store disk0s2
   1:                APFS Volume JacOS                   40.2 GB    disk1s1
   2:                APFS Volume Preboot                 22.5 MB    disk1s2
   3:                APFS Volume Recovery                512.1 MB   disk1s3
   4:                APFS Volume VM                      2.1 GB     disk1s4

Continuing with the instruction will “absorb the free space” into a volume which is on an APFS container scheme, which is opposite of the instruction in step two because my volumes are on a synthesized APFS container scheme.

Does it matter that my volumes to “absorb the free space” is on a scheme and not a container disk?

I’m hesitant to experiment with container disks which contain the only OS.

Also, in step three, why does David resize disk1s4 instead of disk0s4?

Has that created the below result, which causes the identifier to reflect the number “1” after disk, even though it is reading off the internal physical disk “disk0”?

/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        +536.9 GB   disk1
   1:                        EFI EFI                     209.7 MB   disk1s1
   2:                  Apple_HFS Chicken                 150.0 GB   disk1s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk1s3
   4:                  Apple_HFS Turkey                  385.4 GB   disk1s4
   5:                 Apple_Boot Recovery HD             650.0 MB   disk1s6

Does David create a virtual partition when resizing a volume by changing the numeral of the internal physical disk?
Am I to add a numeral to my “disk1s3” (the second to last volume in my container scheme) to be “disk2s3”?

I don’t understand and am I not sure how to proceed with the instructions.

I appreciate your answers.

I have MacOS High-Sierra 10.13.6 using an intel CPU and SSD drive.

Thank you.

boot – Disks reports “Disk is OK, 5439488 bad sectors”

That seems to me to be a helluva lot of bad sectors. This is an SSD, but I thought those things took care of hiding bad sectors without the operating system having to bother its pretty little head about them. Ubuntu 20.04 seems to be able to count these bad sectors, yet still announce that the disk is “OK”.

Is the disk “OK”? I been having mysterious error messages announcing that “Ubuntu 20.04 experienced an internal error” with the /var/crash report suggesting that the problem is (being detected by?) gnome-control-center. The system runs just fine following this error—until I reboot. On two occasions, a reboot after this error has failed completely, requiring a complete new install of 20.04. Rinse and repeat: a totally fine installation of Ubuntu until that same error message pops up again several days later. And the subsequent reboot fails.

Why does Disks declare a drive on which it is able to detect 5439488 bad sectors “OK”? I had assumed Disks was telling me “you’ve got an ageing SSD but it’s all under control. But if the bad sector count is responsible for the reboot failures (my assumption, not fact), why is Disks seemingly giving the SSD a pass?

My current working hypothesis is that the SSD is failing fast. The coping mechanism for addressing these failed sectors is running hard to catch up (those 5439488 bad sectors have properly been taken care of) but new failed sectors are now appearing frequently enough for Ubuntu to “experience an internal error” resulting in reboot failure (but still allowing me to spend time writing this particular posting before I do the reboot). Would this make sense?

Does the team agree that this laptop needs a new SSD?


Chris

disk encryption – Protecting a pass-phrase with the TPM and associating it with a file state

Is there a way to associate the state of an arbitrary file to a tpm2 PCR value? I want to seal a secret pass-phrase onto the tpm and I want the tpm to be able to unseal it only if the file is not tampered with. I read through a related article in the link which talks about protecting the boot process using the tpm. I understand that different platform configuration registers are allocated to a state of components like BIOS, BIOS configuration, MBR, etc. However, I want to create a pcr policy that will control the access of sealed pass-phrase on TPM2 based on the checksum of a file. But I don’t know how to create it. Please help me understand if this is possible.

cPanel Reseller Hosting @ $9.90/M| 50% OFF FOR LIFE| SSD Disk| Unlimited Bandwidth


cPanel reseller hosting plans offered by eLiteServerManagement have been the preferred choice of designers and developers wishing to offer value-added services to clients and even individuals and small businesses planning to set up their custom hosting packages featuring their unique brand names. But why do these people trust us? The answer lies in three key factors –

• Our competitive prices that beat our closest competitors convincingly

• 99.99% uptime guarantee with real-time server monitoring

• 24/7 customer support made available via multiple channels

Key Features Of Our Reseller Hosting Plans

  • Litespeed Web Server & LSCache
  • Softaculous 1-Click Script Installer ( Install WordPress, Prestashop, Drupal, OpenCart, Joomla, in 1 click )
  • CloudLinux OS ( CentOS )
  • 30 Day Money Back Guarantee
  • 10 Gbps DDoS Protection Available
  • 24X7 Technical Support
  • 100% Network Uptime Guarantee
  • MailChannels Outbound Email Filtering
  • SSD Storage
  • No Setup Fee
  • FREE Billing System
  • FREE Website Migrations
  • FREE Daily Backups
  • Free SSL Certificates


Additional 50 % OFF FOR LIFE USE COUPON CODE WHTReseller(/CENTER)

Plan Accounts Disk Space Bandwidth WHMCS Price Order
Bronze 21 300GB Unlimited X $19.95 Order Now
Silver 41 Unlimited Unlimited Yes $29.95 Order Now
Gold 61 Unlimited Unlimited Yes $39.95 Order Now
Platinum 101 Unlimited Unlimited Yes $49.95 Order Now

Network information

Server Location: Dallas, Texas

REVIEWS OF OUR SERVICE

HostAdvice
WhTop
TrusTpilot

WHT

While looking for a new provider I came upon eLite Server Management they have been nothing but helpful for my needs and wants from a provider so far. The pricing is great for the server packages they offer with all the added features you would need. Their reliability has been second to none as I have had NO downtime at all. Also their top of the line support gives you peace of mind if any problem occurs that you can not handle.

Thank You

ALS

Join the eLite Server Management social networks

Facebook: https://www.facebook.com/EliteServerManagement/

Twitter: https://twitter.com/eliteserverman2

Contact us

If you have any further questions please contact us at sales@eliteservermanagement.com

chat with our 24×7 sales representative here https://eliteservermanagement.com

TurnKey Internet: *50% OFF* SEO cPanel Hosting | SSD | UNLIMITED BW & Disk | FREE SSL

*BEST VALUE DEAL: Use coupon code BV15 to save an additional 15% off FOR LIFE!*

BONUS DISCOUNT OFFER: 15% additional discount for Life, use coupon code BV15 at check out to further discount our amazing deals shown below. This additional discount is FOR LIFE, but only if you sign up now! Limit 1 per customer, new orders only.

TurnKey Internet provides Dedicated Servers, Colocation, Web Hosting, Cloud, and Virtual Servers from its company-owned and operated Green Data Center. Since 1999, TurnKey Internet has built a reputation of outstanding personalized service, reliability, and value. Owning our own data center lets our on-site 5-star rated staff answer your questions quickly and provide complete solutions direct from our expert team located right in the same building as your servers. We are experts in the Cloud Hosting and Data Center space with a true dedication to your online success every step of the way.

Our company-owned enterprise grade web hosting servers exclusively use SSD disk systems in high performance and redundant RAID-10 configuration – each web hosting server has at least 24+ CPU cores, 32GB of RAM, and dedicated Gigabit network speeds – for blazing fast performance to host your web sites and applications such as WordPress, Joomla, Drupal, and much more!

FREE Website & Server Migrations : TurnKey Internet makes migrating to our Cloud and Web Hosting services easier than ever by handling all the migration work for your website(s) and servers including all email, databases, websites, and applications. More Information

View all cPanel SEO Optimized Web Hosting Packages Additional 10% Off For Life when you pre-pay Annually!

TurnKey’s Ultra Fast SEO Optimized cPanel Web Hosting combines lightning fast cPanel web servers with a vast array of unique non-shared dedicated C-Class IP’s that maximize your advantage for the Google SEO ranking algorithm.

Has your website portfolio been crippled by Google’s Panda updates? Have you thrown in the towel with your website network being slow to load and your old hosting provider always offline? Look no further – our SEO optimized web hosting packages can help get your web site portfolio back into an Olympic sized SEO Ranking victory again!

The key to your SEO ranking success is hosting your unique and quality SEO content over a vast array of dedicated, non-shared, unique C-Class IP’s coupled with the SEO ranking algorithm benefits of protecting your sites with trusted, signed HTTPS/SSL certificates as confirmed by Google.

Over the past few months we have been running tests taking into account whether sites use secure, encrypted connections as a signal in our search ranking algorithms. We’ve seen positive results, so we’re starting to use HTTPS as a ranking signal because we’d like to encourage all website owners to switch from HTTP to HTTPS to keep everyone safe on the web.

Unique C-Class IP’s let you maximize the benefit of Google’s new SEO rankings by utilizing the most secure and fastest responding HTTPS/SSL certificates for your web sites.

Our web hosting servers are customized and optimized for web professionals who know the best way to launch their portfolio of websites to the top of search engines like Google, Bing, and Yahoo. Our SEO hosting packages offer best-in-class features, speed, and options specific to achieving top SEO rankings. Our servers offer ultra-fast page loads from their Dual Hexa-Core CPU’s and blazing-fast RAID-10 disk systems. The server software is customized to provide the ultimate security for your websites with our custom server monitoring, mod security web security rules, and intrusion detection systems, all to make sure your site is not hosted next to some hijacked WordPress blog site! Global accelerated content delivery through CloudFlare launches page load speeds to the highest levels possible. Our brand new Attracta built in premium SEO tools give you ready-to-go access to SEO tools like sitemap creation and search engine submission tools. Combined with the cPanel/WHM interface and up to 50 unique non-shared dedicated class-C IP’s, you can now host your entire portfolio of websites through one easy to use control panel. Best yet, the MySQL database, apache web server, and PHP systems are all optimized for the most popular WordPress, Drupal, and Joomla-based content systems. This is The Ultimate SEO Optimized cPanel Web Hosting package.

SEO I cPanel Web Hosting Package

———————————————————————

  • Powered by cPanel with WHM (Web Host Manager) on Apache 2.4 on Red Hat Enterprise Linux (CENTOS)
  • cPanel Accounts: 10 with Unlimited Domains and Sub-Domains
  • IPs: 10 Unique Dedicated IPs IPv4 (all unique spread across 10 Unique Class A, B and C ranges)
  • IPv6: YES – included FREE, Unlimited IPv6
  • Ultra-Fast SSD Secure RAID-10 Protected Disk Space: Unlimited
  • Premium GigaBit Bandwidth Transfer (per month): Unlimited
  • CPU: Shared 1 – 24 Cores
  • MEMORY: Shared up to 32GB+

Just $14.99/mo (Now 50% Off!) Best Value Deal (was 29.99/mo)| ORDER NOW Additional 10% Off For Life when you pre-pay Annually!

SEO II cPanel Web Hosting Package

———————————————————————

  • Powered by cPanel with WHM (Web Host Manager) on Apache 2.4 on Red Hat Enterprise Linux (CENTOS)
  • cPanel Accounts: 20 with Unlimited Domains and Sub-Domains
  • IPs: 20 Unique Dedicated IPs IPv4 (all unique spread across 20 Unique Class A, B and C ranges)
  • IPv6: YES – included FREE, Unlimited IPv6
  • Ultra-Fast SSD Secure RAID-10 Protected Disk Space: Unlimited
  • Premium GigaBit Bandwidth Transfer (per month): Unlimited
  • CPU: Shared 1 – 24 Cores
  • MEMORY: Shared up to 32GB+

Just $24.99/mo (Now 50% Off!) Best Value Deal (was 49.99/mo)| ORDER NOW Additional 10% Off For Life when you pre-pay Annually!

SEO III cPanel Web Hosting Package

———————————————————————

  • Powered by cPanel with WHM (Web Host Manager) on Apache 2.4 on Red Hat Enterprise Linux (CENTOS)
  • cPanel Accounts: 30 with unlimited Domains and Sub-Domains
  • IPs: 30 Unique Dedicated IPs IPv4 (all unique spread across 30 Unique Class A, B and C ranges)
  • IPv6: YES – included free, unlimited IPv6
  • ultra-fast SSD Secure Raid 10 Protected Disk Space: Unlimited
  • Premium GigaBit Bandwidth Transfer (per month): Unlimited
  • CPU: Shared 1 – 24 Cores
  • MEMORY: Shared up to 32GB+

Just $32.99/mo (Now 50% off!) Best Value Deal (was 64.99/mo)| ORDER NOW Additional 10% Off For Life when you pre-pay Annually!

SEO Optimized cPanel Web Hosting – all plans include these advanced features:

  • All-new Unlimited SSD RAID-10 disk space on all cPanel SEO Web Hosting plans!
  • All-new Un-Metered 1000 Mbit GigE Bandwidth on all cPanel SEO Web Hosting plans!
  • cPanel Web Hosting Automation Control System with latest Apache, PHP and MySQL
  • Red Hat Enterprise Linux (CENTOS) Operating System with Apache 2.4 Web Server
  • GREEN Hosting – Solar Powered Datacenter, host responsibly!
  • Secure Enterprise Grade Dell PowerEdge Servers – 24+ CPU Cores, 32GB+ RAM, SSD RAID-10 Disk Systems
  • Dual Intel Xeon Hexa-Core CPU’s with Hyper-Threading = 24+ CPU Cores!
  • 32GB+ RAM – some servers with 64GB+ or 128GB+!
  • RAID-10 Data Protection with Ultra Fast 6 GB/s SSD Disks
  • Multiple Dedicated Unique IP Addresses
  • Unlimited domains and sub-domains!
  • cPanel control panel with WHM (Web Host Manager) to Manage all your Accounts
  • Private Label and Custom Name Servers (ns1.yourdomain.com) across ALL your unique IPs
  • 100’s of Unique Dedicated IP (IPv4) Addresses available (30 on SEO III plan, 20 on the SEO II plan, and 10 on the SEO I plan)
  • All IP’s are non-shared – only used and owned fully by you and only you
  • Each Unique Dedicated IP is provided across a unique class A, B or C Address Range
  • No duplicate IP’s, no overlapping IPs – fully dedicated IPs only to you!
  • FREE SHA-256 2048 Bit SSL OneClick Instant 1-Year Certificate included (limit 1 per client, valid 1 year)
  • Bulk Discount on additional OneClick Instant SSL 1-Year Certificates @ $15 each
  • IPv6 Address Included for EVERY web site at no cost
  • Softaculous Pro Application and Script Autoinstaller (better than Fantastico!)
  • WHMXtra for cPanel
  • Web-enabled File Manager
  • PHP + suEXEC + mod_ruid2 + Apache JailShell
  • Software packages included: Zend OPCache, Zend Guard, IonCube, MySQL, CGI/Perl, Ruby on Rails, Python, Pear, CURL, GD, ImageMagick, more!)
  • Perl, CGI, Server Side Includes, Python
  • Online Webmail (Horde Webmail)
  • Unlimited Email Accounts : POP, IMAP, SSL-POP, SSL-IMAP
  • Unlimited Email Aliases, POP and IMAP
  • Automatic Email Virus Protection
  • User-level and system-wide Spam Protection
  • FTP Publishing, Web Publishing – and more!
  • RVSitebuilder Pro w/1000+ web site templates
  • Web SiteBuilder and Website Building Tools
  • Attracta built-in SEO tools and Website Auto Promotion Tools
  • CloudFlare Global Content Delivery Network (CDN) – Optimized Hosting, Delivery and Security
  • R1Soft Continuous Data Protection Server Wide (Remote Backups and Off Site Backups)
  • R1Soft Backup cPanel user module (customers can restore their own backups!)
  • 100% Network Uptime Guarantee
  • 30 Day Money-Back Guarantee
  • 24 x 7 Support via Phone, Email, Help Desk and our Live Help Chat
  • Free data migration from your old host to our servers
  • Massive Web Supported Application Catalog for Auto Installation including:
    • WordPress
    • Joomla
    • Drupal
    • Magento
    • Zen Cart
    • Much more++!

FREE IPv6 Addresses : All web hosting plans provide native IPv6 addressing, along with the more popular IPv4 Address(es) are already included on your account. This means your applications and web sites will be ultra fast and directly reachable to anyone on the Internet using both the traditional IPv4 addresses as well as the new expansion into the IPv6 Addressed Internet. You don’t need to do anything different, we simply make your web hosting future proof here at TurnKey – and you are IPv6 enabled when you host with us!

SEO Dedicated and Semi-Dedicated Servers

———————————————————————

  • Powered by cPanel with WHM (Web Host Manager) on Apache 2.4 on Red Hat Enterprise Linux (CENTOS)
  • cPanel Accounts: Based on cPanel license
  • IPs: 80 Unique Dedicated IPs (all unique spread across 80 Unique Class A, B and C ranges)
  • Hosted on your own Server with up to 24 CPU Cores and 32 GB Ram Dedicated to you
  • 500GB RAID-10 SSD Disk (dedicated to you)
  • Un-Metered Dedicated Gigabit Network
  • Full root access – Fully Managed Support
  • Customized solutions available


See https://turnkeyinternet.net/seo-hosting/ for more details

ALERT! IP addresses in their current form are quickly running out! The Internet’s governing authorities have no more IPv4 to provision to Internet companies. IPv4 addresses are depleted, hosting companies have stopped giving them out, and the few that still have them are doubling and tripling prices every month! Lock in your IPv4 SEO Hosting Professional cPanel Package with TURNKEY today, before IPv4 is GONE FOREVER!

Your websites load at blazing fast speeds because our servers utilize the latest, state-of-the-art Samsung SSD disks, LSI RAID technology and cutting edge Multi-Core processor technology from Intel. Our cPanel web hosting servers offer a staggering boost in input/output operations per second (IOPS) to make sure you have the fastest loading web pages to further boost your SEO rankings and SEO performance.

TurnKey’s ultra-fast SEO Optimized cPanel Web Hosting is ideal for professional webmasters, businesses and SEO professionals that host many web sites. Our cPanel web hosting servers are securely deployed with the latest Apache 2.4 with PHP 5.x Web Server software, coupled with the latest and fastest MySQL database systems. The servers are optimized for the most popular software programs such as Joomla, Drupal and WordPress to give lightning quick page response times – which further help SEO rankings.

Web Hosting is as much about performance as it is about trust – TurnKey Internet has been a leader in the industry for 10+ Years offering a wide range of web hosting platforms to choose from, including the most secure Linux cPanel web hosting and Microsoft Windows web hosting.

Our web hosting plans are hosted on our company-owned and operated, SSAE-18 SOC 1 & SOC 2 certified, HIPAA compliant, green data center in New York’s Tech Valley Region. We are experts in the cloud hosting and data center space, and are here to support you for any and all of your web hosting needs. Don’t just take our word for it – view these Verified Client Testimonials and our 5-star, perfect rating from Shopper Approved.

CONTACT US:

Live Chat: Live Sales Chat

Email: sales@turnkeyinternet.net

Web: www.turnkeyinternet.net

Facebook: TurnKey Internet

Twitter: @TurnKeyInternet

raid5 – Add disk to QNap Raid 5

I have a QNap TS-569 Pro configured with Raid 5 of 4 hard drives of 1 Terabyte each.
It has 5 disk slots and I want to increase the size of the Raid of another Terabyte.

Reading the manual seem pretty easy operation, but I have a doubt. After adding the new hard drive to the raid, the QNap will rebuild the raid.
During this time (usually it’s pretty long), can I access the data? Or would it be unavailable until the synchronization process finishes?

disk utility – Secure erased drive – always one file can be found

I’ve been going through some old HD drives, secure erasing before sending to recycle. I periodically run Disk Drill over one of them, just to make sure I’m doing the job right.

No matter whether I do the ‘quick’ secure or the full-blown two day multiple run, Disk Drill always manages to find one plist file… apparently the same file each time, or very similar. It appears to be some drive spec & prefs.

Could this be something to do with the EFI partition, generated as part of the new format, rather than anything left over from the old? I honestly can’t think of any reason it should always be able to find this & nothing else – oddly, even if the drive was previously NTFS. All the secure wipes are to GUID/HFS+, whatever they were formatted before. EFI is my only logical conclusion.
This is on Mojave, as can be seen from info in the plist file below.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Annotations</key>
    <dict>
        <key>Creation_Predicates</key>
        <dict>
            <key>false</key>
            <integer>0</integer>
            <key>fstype.hfs</key>
            <integer>1</integer>
            <key>has.uuid</key>
            <integer>1</integer>
            <key>interconnect.usb</key>
            <integer>1</integer>
            <key>is.alreadyindexed</key>
            <integer>0</integer>
            <key>is.apfssnapshot</key>
            <integer>0</integer>
            <key>is.automount</key>
            <integer>0</integer>
            <key>is.backupstore</key>
            <integer>0</integer>
            <key>is.backupvolume</key>
            <integer>0</integer>
            <key>is.bootablevolume</key>
            <integer>0</integer>
            <key>is.cameramedia</key>
            <integer>0</integer>
            <key>is.diskimage</key>
            <integer>0</integer>
            <key>is.dontbrowse</key>
            <integer>0</integer>
            <key>is.ejectable</key>
            <integer>0</integer>
            <key>is.external</key>
            <integer>1</integer>
            <key>is.externalvolumes.defaultoff</key>
            <integer>0</integer>
            <key>is.externalvolumes.ignore</key>
            <integer>0</integer>
            <key>is.filevault</key>
            <integer>0</integer>
            <key>is.forcedefaultindex</key>
            <integer>0</integer>
            <key>is.forcefsonly</key>
            <integer>0</integer>
            <key>is.home</key>
            <integer>0</integer>
            <key>is.internal</key>
            <integer>0</integer>
            <key>is.ipod</key>
            <integer>0</integer>
            <key>is.local</key>
            <integer>1</integer>
            <key>is.lowdiskspace</key>
            <integer>0</integer>
            <key>is.mobilebackups</key>
            <integer>0</integer>
            <key>is.network</key>
            <integer>0</integer>
            <key>is.nonSearchableRole</key>
            <integer>0</integer>
            <key>is.quarantined</key>
            <integer>0</integer>
            <key>is.readonly</key>
            <integer>0</integer>
            <key>is.removable</key>
            <integer>0</integer>
            <key>is.rootfs</key>
            <integer>0</integer>
            <key>is.safeboot</key>
            <integer>0</integer>
            <key>is.syntheticmount</key>
            <integer>0</integer>
            <key>is.tinyvolume</key>
            <integer>0</integer>
            <key>is.windowsbootablevolume</key>
            <integer>0</integer>
            <key>is.xsan</key>
            <integer>0</integer>
            <key>policy.location.volume</key>
            <integer>1</integer>
            <key>self.appleinternal</key>
            <integer>0</integer>
            <key>self.server</key>
            <integer>0</integer>
            <key>status.neverindex</key>
            <integer>0</integer>
            <key>supports.catsearch</key>
            <integer>1</integer>
            <key>supports.fileids</key>
            <integer>1</integer>
            <key>supports.volfs</key>
            <integer>1</integer>
            <key>true</key>
            <integer>1</integer>
            <key>uuid.b988bc99-b85b-332d-bd6e-6f7bac8cdd28</key>
            <integer>1</integer>
        </dict>
        <key>DebugKey1</key>
        <string>2021-07-17 3:41:10 pm +0000 3</string>
        <key>DefaultStore_EffectiveSearch</key>
        <integer>3</integer>
        <key>DefaultStore_RequestedSearch</key>
        <integer>3</integer>
    </dict>
    <key>ConfigurationCreationDate</key>
    <date>2021-07-17T15:41:10Z</date>
    <key>ConfigurationCreationVersion</key>
    <string>Version 10.14.6 (Build 18G9216)</string>
    <key>ConfigurationModificationDate</key>
    <date>2021-07-17T15:41:10Z</date>
    <key>ConfigurationModificationVersion</key>
    <string>Version 10.14.6 (Build 18G9216)</string>
    <key>ConfigurationVolumeUUID</key>
    <string>B988BC99-B85B-332D-BD6E-6F7BAC8CDD28</string>
    <key>ConfigurationWriteback</key>
    <false/>
    <key>Exclusions</key>
    <array/>
    <key>Options</key>
    <dict>
        <key>ConfigurationType</key>
        <string>Default</string>
    </dict>
    <key>Stores</key>
    <dict>
        <key>E0FD820A-A9A6-4118-A1E0-36DDC4458E36</key>
        <dict>
            <key>CreationDate</key>
            <date>2021-07-17T15:41:10Z</date>
            <key>CreationVersion</key>
            <string>Version 10.14.6 (Build 18G9216)</string>
            <key>IndexVersion</key>
            <integer>95</integer>
            <key>PartialPath</key>
            <string>/</string>
            <key>PolicyDate</key>
            <date>2021-07-17T15:41:10Z</date>
            <key>PolicyLevel</key>
            <string>kMDConfigSearchLevelReadWrite</string>
            <key>PolicyProcess</key>
            <string>STORE_ADD</string>
            <key>PolicyVersion</key>
            <string>Version 10.14.6 (Build 18G9216)</string>
        </dict>
    </dict>
</dict>
</plist>

Windows Server – how to shrink partition on GPT disk from the front?

I’m looking for a way to shrink a partition on a GPT disk from the front on production servers.
With diskpart it’s only possible to shrink the space from the end.
Ideally while running

filesystems – LVM: Problems in adding disk to an existing Logical volume

I have a disk under a Logical Volume.

$ lvdisplay
  --- Logical volume ---
  LV Path                /dev/vg_prod/lv_prod
  LV Name                lv_prod
  VG Name                vg_prod
  LV UUID                mXj3Qv-t0GK-4idW-mRBA-17Nb-PSPK-Roulf3
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                <3.64 TiB
  Current LE             953797
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:1

Now, I want to add a new disk to extend the volume. The disk is attached through the USB interface.

$ fdisk -l /dev/sdg
Disk /dev/sdg: 3.65 TiB, 4000752599040 bytes, 7813969920 sectors
Disk model: Game Drive
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

When I try to add it to extend the volume, I get the error.

$ vgextend vg_prod /dev/sdg
Devices have inconsistent logical block sizes (4096 and 512).

So I started to change the logical sector size for /dev/sdg to 4096.

$ fdisk -b 4096 /dev/sdg

When I print the partition table in fdisk, I do see the logical sector size as 4096.

Welcome to fdisk (util-linux 2.34).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Device does not contain a recognized partition table.
Created a new DOS disklabel with disk identifier 0xf4a7867a.

Command (m for help): p
Disk /dev/sdg: 3.65 TiB, 4000752599040 bytes, 976746240 sectors
Disk model: Game Drive
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xf4a7867a

When I create a partition, write changes, and list. It goes back to showing 512 as logical sector size.

Command (m for help): n
Partition type
   p   primary (0 primary, 0 extended, 4 free)
   e   extended (container for logical partitions)
Select (default p): p
Partition number (1-4, default 1): 1
First sector (256-976746239, default 256):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (256-976746239, default 976746239):

Created a new partition 1 of type 'Linux' and of size 3.7 TiB.

Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
$ sudo fdisk -l /dev/sdg

Disk /dev/sdg: 3.65 TiB, 4000752599040 bytes, 7813969920 sectors
Disk model: Game Drive
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xf4a7867a

Device     Boot Start       End   Sectors   Size Id Type
/dev/sdg1         256 976746239 976745984 465.8G 83 Linux

Is there a way to change my disk to have logical sector size 4096 so I could add it to the existing storage that I already have?