Displaying 20 results from an estimated 114 matches for "disklabel".
2003 Jun 29
1
vinum drive referenced / disklabel inconsistency
..... but since it is my
current 'scratch/backup' box, I just reinstalled with -STABLE.
# uname -a
FreeBSD polya.axista.com 4.8-STABLE FreeBSD 4.8-STABLE #22: Tue Jun 24
17:01:07 EDT 2003 cce@cantor.local:/usr/obj/usr/src/sys/GENERIC i386
Anyway, my problems seem to be coming from a disklabel issue. Following
the instructions in the handbook (for disk addition), I go through the
following steps:
# dd if=/dev/zero of=/dev/ad2 bs=1k count=1
# fdisk -BI ad2
# disklabel -B -w -r ad2s1 auto
And at this point, I use the following to extract the current
label, and then I edit it wi...
2008 Feb 06
3
Reconstruct disklabel for UFS and GELI volumes
Hi,
Somehow[TM] an installation of 4.11 to ad0s3 managed to wipe out my
existing disklabel for 7.0 on ad0s4. I now need to recover the
disklabel to get my system to boot!
There were three labels
- ad0s4a: UFS, exact size unknown. Is it possible to infer this from
the UFS partition size? I can mount this already, as I simply wrote an
'a' label of maximum size to the disklabel
- a...
2014 Nov 27
0
[PATCH 0/1] inspect: Fix a bug in the *BSD root detection
.../dev/sda5 (see:
* http://www.freebsd.org/doc/handbook/disk-organization.html)
*/
if (m->im_type == MOUNTABLE_DEVICE &&
match (g, m->im_device, re_first_partition))
return 0;
This assumption is not always true. First of all, the MBR partition
that hosts the disklabel could be any of the primary partitions. Not
just the first one. The OpenBSD installer for example will by default
use the 4th partition. I'm pretty sure you can change this in FreeBSD
and NetBSD too.
The other thing is that /dev/sda5 will not always be there. The problem
is the weird way the k...
2012 Aug 16
2
Geom label lost after expanding partition
...bel can be used, though the glabel man page is
explicit that it can't.) Both complete with no errors, but neither
fixes the problem. I still don't see any /dev/usf/usr. "glabel list"
does not even list the geom.
I do get the following GEOM messages in dmesg:
GEOM: ada1p2: invalid disklabel.
GEOM: ufsid/4df4feeda0ce6d5c: invalid disklabel.
GEOM: ufs/root: invalid disklabel.
GEOM: gpt/root: invalid disklabel.
GEOM: gptid/43f0eafd-ba3a-11e0-b70a-f0def166a11e: invalid disklabel.
but /dev/ufs/root works fine to mount /, and I have always snen these
errors and have never been able to figu...
2018 Nov 08
0
command in kickstart file to write disklabel?
...It must be an issue beaten to death, but somehow my
search ability fails on this particular one (I am not "googling" but
"duckduckgo-ing", though this shouldn't matter the problem as usually must
be myself).
Can someone suggest something? I know it is trivial to just create
disklabel before sticking drive in machine, but once I'm using kickstart,
any need in separate manual steps feels really lame.
Thanks a lot for all your help in advance!
Valeri
++++++++++++++++++++++++++++++++++++++++
Valeri Galtsev
Sr System Administrator
Department of Astronomy and Astrophysics
Kavl...
2003 Sep 04
1
ext2fs BSD-slice subpartition?
...e FS_EXT2FS 17 /* Linux Extended 2 file system */
It would actually meet my partitioning requirements to register a
partition inside one of my slices as ext2 (I currently mask the
partition type as ISO9660(!) and use a *patched* grub, so you see this
situation is suboptimal...), but the disklabel program will not honor
this (neither numerically, i.e. 17, nor textual which I know from the
source). I don't know about the -CURRENT bsdlabel, I suppose things are
the same.
Is there any serious objection to supporting this?
Regards
Thomas
2014 Nov 28
1
Re: [synnefo-devel] Re: [PATCH 1/1] inspect: Fix a bug in the *BSD root detection
LGTM
Another thing concerning the disklabel partitions is that
list_filesystems() will print both /dev/sda1 and /dev/sda5 as ufs file
systems. I don't know if you care to change this. The fact is that both
are mountable.
P.S. I wish the kernel folks would stop treating the disklabel
partitions as logical partitions. Logical partitions a...
2003 Aug 04
4
bootstrapping vinum root
...9;s
commit message: http://freebsd.rambler.ru/bsdmail/cvs-all_2003/msg01225.html
I failed. I have 4-stable system set up at ad0, and tried to set up pair of
drives for new system at ad2 and ad3 (actually, they will run as ad0 and ad2 on
target system). What I did:
- fdisk -BI ad2; fdisk -BI ad3
- disklabel -Brw auto ad2s1; disklabel -Brw auto ad3s1
- create ad[23]s1d for root, 128M+265s in size, type vinum
- start vinum and create mroot mirror volume
- dump'n'restored root partition there
- tune new fstab and /boot/loader.conf according to Joerg's comments.
Alas, all I have is BTX regist...
2016 Jul 13
2
[PATCH] : Adding dlabel option to chain.c32
On 06/30/16 14:19, Ady Ady via Syslinux wrote:
>
> BTW, any suggestions for an alternative name for this option, instead
> of "dlabel"?
>
"disklabel"
-hpa
2012 Oct 20
3
Assign external esata drive to KVM
...;. I was also
expecting to see "/dev/vdb1".
I ran fdisk on it only to see the partition table wasn't detected. The
drive itself is OK - I can mount it successfully on the KVM host.
Here's the fdisk output:
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF
disklabel
Building a new DOS disklabel with disk identifier 0xd6912a1b.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.
Warning: invalid flag 0x0000 of partition table 4 will be corrected by
w(rite)
WARNING: DOS-compa...
2003 Jul 07
2
FreeBSD 4.4-REL to FreeBSD 4.8-STABLE upgrade problem.
...procfs rw 0 0
I am thinking that in 4.5-REL or newer (we are trying to upgrade to 4.8)
that things might have changed? Again, /usr/src/UPDATING mentions some
changes to the ATA code, but nothing specific to our configuration.
Any ideas here?
Following are the partition and disklabel information for /dev/ad4 and
/dev/ar0:
# fdisk /dev/ad4
******* Working on device /dev/ad4 *******
parameters extracted from in-core disklabel are:
cylinders=5005 heads=255 sectors/track=63 (16065 blks/cyl)
Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used...
2016 Jul 14
0
[PATCH] : Adding dlabel option to chain.c32
> On 06/30/16 14:19, Ady Ady via Syslinux wrote:
> >
> > BTW, any suggestions for an alternative name for this option, instead
> > of "dlabel"?
> >
>
> "disklabel"
>
> -hpa
>
>
IMO, naming this option "disklabel" is not the best idea. The term,
"disklabel", suggests different possible things to users, depending on
what the user is looking for / having in mind; for instance, think
about the term in *BSDs vs. fdisk&...
2006 Mar 15
2
swap at beginning of slice - danger?
Hello freebsd-stable,
I have 5.5-PRERELEASE server in production, booting from ad0s1:
# BLOCKSIZE=512 swapinfo
Device 512-blocks Used Avail Capacity
/dev/ad0s1b 2097152 52872 2044280 3%
/dev/ad1s1b 2097152 51952 2045200 2%
Total 4194304 104824 4089480 2%
# bsdlabel ad0s1 | fgrep b:
b: 2097152 0 swap
2017 Apr 04
2
Hiding partitions at boot time
...u=1 radeon.dpm=1 drm_kms_helper.edid_firmware=edid/1600x1200.bin
menu separator
fdisk -l :
Disk /dev/sda: 119.2 GiB, 128035676160 bytes, 250069680 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x430f27bc
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 67583 65536 32M 83 Linux
/dev/sda2 67584 131137535 131069952 62.5G 7 HPFS/NTFS/exFAT
/dev/sda3 131137536 139526143 8388608 4G 82 Linux swap /...
2014 Dec 03
0
[PATCH 2/4] Support fstab block device resolution for NetBSD
Make a best effort try to map NetBSD disklabel partitions to Linux
partitions. The mapping will be incorrect if there is a gap in the
disklabel partitions sequence, e.g. 'b' (swap) partition is missing but
'e' partition is defined.
Signed-off-by: Nikos Skalkotos <skalkoto@grnet.gr>
---
src/inspect-fs-unix.c | 31 ++++++++...
2014 Dec 02
0
[PATCH 3/5] Support fstab block device resolution for NetBSD
Make a best effort try to map NetBSD disklabel partitions to Linux
partitions. The mapping will be incorrect if there is a gap in the
disklabel partitions sequence, e.g. 'b' (swap) partition is missing but
'e' partition is defined.
Signed-off-by: Nikos Skalkotos <skalkoto@grnet.gr>
---
src/inspect-fs-unix.c | 31 ++++++++...
2014 Nov 28
2
Re: [PATCH 1/1] inspect: Fix a bug in the *BSD root detection
On Friday 28 November 2014 14:31:01 Richard W.M. Jones wrote:
> How about the attached patch? It's basically the same as your patch
> but I moved the code between files and tidied up some whitespace
> issues.
Present in both the patches:
> +/* On *BSD systems, sometimes /dev/sda[1234] is a shadow of the real root
> + * filesystem that is probably /dev/sda5
> + * (see:
2017 Nov 21
2
[PATCH REPOST 1/2] common/mlstdutils: Add return statement.
No change, just reposting without the "for discussion" tag.
I think we should allow this as it seems like a nice coding style for
a limited subset of imperative-style code.
Rich.
2005 Jun 13
5
formatting a 3 terabyte partition
hi.
i'm hitting a wall each time i try to format a 3 terabyte partition. i'm
able to create the partition using parted but whenever i try to create a
3 terabyte xfs or jfs or ext3 filesystem, the mounted filesystem created
is only 1 terabyte. i tried centos x86 and x86_64 4.0 but i always hit a
1 terabyte limit. please help.
2017 Nov 05
2
[PATCH 0/2] (mainly for discussion) Add ‘return’ statement.
When rewriting the heavily imperative original inspection code, I
longed for a ‘return’ statement so I could keep the new code as close
as possible to the original. OCaml of course does not have such a
statement, but it's relatively simply to implement it in the language.
The first patch does so, and the second patch rewrites a sample of the
inspection code to use it.
Rich.