This is my first post. I hope I do not make too many formatting and typo errors. Typo errors may be more than my normal due to DE keyboard layout issues that will be another posting, so please do not ask about the DE keyboard layout issues in this posting.
I did a fresh install of FreeBSD 14.2 20241210 using
I have decided I want to allow /home to be changed from dedicated partition /dev/ada0p6 to exist on /dev/ada0p2 which is root mount point / The dedicated mount point dedicated partition /dev/ada0p6 would be changed to dedicated partition /Data
I know there are various files and directories in the /home/foo of the current /dev/ada0p6 that need to be copied to /home migrated to /dev/ada0p2 I have created a shell command file to archive those files to /home migrated to /dev/ada0p2
I changed the line in /etc/fstab
to
When I rebooted FreeBSD it dropped to single user mode with messages related to not able to find /Data mount point. I am assuming that the mount point name is part of the /dev/ada0p6 partition information
for /dev/ada0p2
Over the last several days I have done extensive searching using many different combinations of keywords assuming I need to change
for /dev/ada0p6 to
It appears that
is what I need to change so /etc/fstab for
change is successful. It appears based on research that
is the command needed for the change I wish to effect for /etc/fstab
Before I ask more specific questions and if I need be provide additional system details is my current conclusion for the
command correct?
I did a fresh install of FreeBSD 14.2 20241210 using
Code:
uname -a
FreeBSD df001 14.2-RELEASE FreeBSD 14.2-RELEASE releng/14.2-n269506-c8918d6c7412 GENERIC amd64
I know there are various files and directories in the /home/foo of the current /dev/ada0p6 that need to be copied to /home migrated to /dev/ada0p2 I have created a shell command file to archive those files to /home migrated to /dev/ada0p2
I changed the line in /etc/fstab
Code:
/dev/ada0p6 /home ufs rw 2 2
Code:
/dev/ada0p6 /Data ufs rw 2 2
When I rebooted FreeBSD it dropped to single user mode with messages related to not able to find /Data mount point. I am assuming that the mount point name is part of the /dev/ada0p6 partition information
Code:
gpart list /dev/ada0
Code:
Geom name: ada0
modified: false
state: OK
fwheads: 16
fwsectors: 63
last: 625142407
first: 40
entries: 128
scheme: GPT
Providers:
.... snip ...
6. Name: ada0p6
Mediasize: 150323855360 (140G)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r1w1e1
efimedia: HD(6,GPT,6c04e08e-b6be-11ef-b09d-6c4b9045aed0,0x13c00020,0x11800000)
rawuuid: 6c04e08e-b6be-11ef-b09d-6c4b9045aed0
rawtype: 516e7cb6-6ecf-11d6-8ff8-00022d09712b
label: home
length: 150323855360
offset: 169651224576
type: freebsd-ufs
index: 6
end: 624951327
start: 331350048
Consumers:
1. Name: ada0
Mediasize: 320072933376 (298G)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r5w5e9
Over the last several days I have done extensive searching using many different combinations of keywords assuming I need to change
Code:
label: home
Code:
label: Data
Code:
label: home
Code:
/dev/ada0p6 /Data ufs rw 2 2
Code:
gpart modify -i index [-l label] [-t type] [-f flags] geom
Before I ask more specific questions and if I need be provide additional system details is my current conclusion for the
Code:
gpart