Re: mounting a drive on F37

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks very much!

On Thu Mar30'23 03:42:50PM, Peter Boy wrote:
> From: Peter Boy <pboy@xxxxxxxxxxxxx>
> Date: Thu, 30 Mar 2023 15:42:50 +0200

> 
> Then you might have a BIOS Raid, where the BIOS provides some of the code instead of the Linux driver. Before you update to F38 and/or F39, you should study the release notes. Linux support for  BIOS Raid changed, I don’t remember the details out of my head. They will NOT get totally unsupported, but you may have to install different drivers, maybe it’s updated automatic. As I said, I don’t remember the details. 
> 

OK, thanks for this warning, I will remember to make sure.

> >> What says
> >> 
> >> cfdisk /dev/sdb ?
> > 
> > So, I get a new screen come up, and "select label type" from "gpt", "dos", "sgi" and "sun". I guess this should be "gpt", so I tried that.
> > 
> > The process forward seemed straightforward, and I got a filesystem created with "Label" gpt, "identifier "some long alphanumeric name" and "Partition UUID" and of "Partition type: Linux file system", both the last with two other long alphanumeric names.
> > 
> > I went into "Type" but there is no option for "ext4" ("or xfs", for that matter) and so left it as "Linux file system" and then "Write" (wrote) to disk ("yes") and "Quit" to move on.
> > 
> >> 
> >> If you can, create a partition and afterwards a filesystem. Then try e.g.
> >> mount -t xfs|ext4   /dev/sdb1   /mnt 
> > 
> > Here, however, I get:
> > 
> > $ sudo mount -t ext4   /dev/sdb1   /mnt
> > mount: /mnt/backup: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error.
> >       dmesg(1) may have more information after failed mount system call.
> 
> 
> Yes, you must create a file system on the newly created partition. Currently xfs is the default, so you have to execute:
> 
> […]$ sudo mkfs.xfs /dev/sdb1
> […]$ sudo mount -t xfs  /dev/sdb1 /mnt  
> 
> or if you want to stay with ext4:
> […]$ sudo mkfs.ext4 /dev/sdb1
> […]$ sudo mount -t ext4  /dev/sdb1  /mnt  
>

Right, got this to work, thanks!

> And to make it permanent
> 
> […]$ sudo vi /etc/fstab
> 
> and add at the end
> either
> /dev/sdb1  /mnt           xfs     defaults        0  0
> or
> /dev/sdb1  /mnt           ext4     defaults        0  0
> 

lsblk now yields a UUID, so I guess i could use that for consistency with the rest, or the actual drive above. But, should I use 0 0 above, or 1 2, given that /home is 1 2. Since  that is what I will be backing up hourly (after the first run), using changes per rsync to this drive).

In the current filesystem set up by anaconda, I have  1 1 for / 0 0 for swap and 1 2 for everything else.

> 
> Generally, /mnt is not a good option for a permanent mount. You should create either /srv/backups  (srv for server or services) or at least /mnt/mybackups
> 

I will do that, thank you!

Best wishes,
Ranjan
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux